woodpecker/Dockerfile.agent.alpine
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

13 lines
221 B
Docker

FROM alpine:3.9.4
RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go
ADD release/woodpecker-agent /bin/
EXPOSE 3000
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
ENTRYPOINT ["/bin/woodpecker-agent"]