2019-02-21 04:17:50 +00:00
|
|
|
FROM alpine:3.9 as alpine
|
2019-02-19 23:56:41 +00:00
|
|
|
RUN apk add -U --no-cache ca-certificates
|
|
|
|
|
2019-02-21 04:17:50 +00:00
|
|
|
FROM alpine:3.9
|
2019-02-19 23:56:41 +00:00
|
|
|
ENV GODEBUG=netdns=go
|
|
|
|
ENV DRONE_RUNNER_OS=linux
|
|
|
|
ENV DRONE_RUNNER_ARCH=arm
|
|
|
|
ENV DRONE_RUNNER_PLATFORM=linux/arm
|
|
|
|
ENV DRONE_RUNNER_CAPACITY=1
|
|
|
|
ENV DRONE_RUNNER_VARIANT=v7
|
|
|
|
ADD release/linux/arm/drone-controller /bin/
|
|
|
|
|
|
|
|
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/drone-controller"]
|