mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
12 lines
323 B
Docker
12 lines
323 B
Docker
# docker build --rm -f docker/Dockerfile.agent.alpine -t woodpeckerci/woodpecker-agent .
|
|
|
|
FROM alpine:3.14
|
|
RUN apk add -U --no-cache ca-certificates
|
|
|
|
ENV GODEBUG=netdns=go
|
|
ADD dist/agent/linux_amd64/woodpecker-agent /bin/
|
|
|
|
EXPOSE 3000
|
|
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
|
|
|
|
ENTRYPOINT ["/bin/woodpecker-agent"]
|