2018-02-01 21:06:39 +00:00
|
|
|
FROM alpine:3.7
|
2017-09-28 02:01:52 +00:00
|
|
|
|
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"]
|
|
|
|
|