fix busted agent dockerfile
This commit is contained in:
parent
42b60bd822
commit
d03eaaafa9
3 changed files with 7 additions and 2 deletions
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue