2017-09-12 18:25:55 +00:00
|
|
|
# docker build --rm -f Dockerfile.agent -t drone/agent .
|
2017-06-29 22:51:22 +00:00
|
|
|
|
2017-09-28 02:01:52 +00:00
|
|
|
FROM drone/ca-certs
|
2017-06-30 00:38:43 +00:00
|
|
|
ENV GODEBUG=netdns=go
|
2017-06-29 22:51:22 +00:00
|
|
|
ADD release/drone-agent /bin/
|
|
|
|
|
2017-09-12 20:58:06 +00:00
|
|
|
EXPOSE 3000
|
2017-09-12 18:25:55 +00:00
|
|
|
HEALTHCHECK CMD ["/bin/drone-agent", "ping"]
|
2017-09-12 20:40:24 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/drone-agent"]
|