2017-09-28 02:01:52 +00:00
|
|
|
FROM alpine:3.6
|
|
|
|
|
2017-09-28 02:04:58 +00:00
|
|
|
RUN apk add -U --no-cache ca-certificates
|
2017-09-28 02:01:52 +00:00
|
|
|
|
|
|
|
ENV GODEBUG=netdns=go
|
|
|
|
ADD release/drone-agent /bin/
|
|
|
|
|
|
|
|
EXPOSE 3000
|
|
|
|
HEALTHCHECK CMD ["/bin/drone-agent", "ping"]
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/drone-agent"]
|
|
|
|
|