woodpecker/Dockerfile.agent
Anbraten b3d40024a9
Rename cmd agent and server folders and binaries (#330)
Renamed `cmd/drone-agent` to `cmd/agent` and `cmd/drone-server` to `cmd/server` and binaries to get rid of the drone name.
2021-09-21 17:06:13 +02:00

10 lines
254 B
Docker

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