fix busted agent dockerfile

This commit is contained in:
Brad Rydzewski 2017-09-12 13:58:06 -07:00
parent 42b60bd822
commit d03eaaafa9
3 changed files with 7 additions and 2 deletions

View file

@ -1,11 +1,10 @@
# docker build --rm -f Dockerfile.agent -t drone/agent .
EXPOSE 3000
FROM centurylink/ca-certs
ENV GODEBUG=netdns=go
ADD release/drone-agent /bin/
EXPOSE 3000
HEALTHCHECK CMD ["/bin/drone-agent", "ping"]
ENTRYPOINT ["/bin/drone-agent"]

View file

@ -3,4 +3,7 @@ ENV GODEBUG=netdns=go
ENV DRONE_PLATFORM=linux/arm
ADD release/linux/arm/drone-agent /bin/
EXPOSE 3000
HEALTHCHECK CMD ["/bin/drone-agent", "ping"]
ENTRYPOINT ["/bin/drone-agent"]

View file

@ -3,4 +3,7 @@ ENV GODEBUG=netdns=go
ENV DRONE_PLATFORM=linux/arm64
ADD release/linux/arm64/drone-agent /bin/
EXPOSE 3000
HEALTHCHECK CMD ["/bin/drone-agent", "ping"]
ENTRYPOINT ["/bin/drone-agent"]