FROM alpine:3 as alpine RUN apk add -U --no-cache ca-certificates RUN wget https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-arm64v8.tar.xz RUN tar -xf tmate-2.4.0-static-linux-arm64v8.tar.xz RUN mv tmate-2.4.0-static-linux-arm64v8/tmate /bin/ RUN chmod +x /bin/tmate FROM alpine:3 EXPOSE 3000 ENV GODEBUG netdns=go ENV DRONE_PLATFORM_OS linux ENV DRONE_PLATFORM_ARCH arm64 COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ LABEL com.centurylinklabs.watchtower.stop-signal="SIGINT" ADD release/linux/arm64/drone-runner-docker /bin/ ENTRYPOINT ["/bin/drone-runner-docker"]