woodpecker/docker/Dockerfile.agent.alpine

13 lines
323 B
Docker
Raw Normal View History

# docker build --rm -f docker/Dockerfile.agent.alpine -t woodpeckerci/woodpecker-agent .
2017-09-28 02:01:52 +00:00
FROM alpine:3.14
RUN apk add -U --no-cache ca-certificates
2017-09-28 02:01:52 +00:00
ENV GODEBUG=netdns=go
2021-10-04 19:45:01 +00:00
ADD dist/agent/linux_amd64/woodpecker-agent /bin/
2017-09-28 02:01:52 +00:00
EXPOSE 3000
HEALTHCHECK CMD ["/bin/woodpecker-agent", "ping"]
2017-09-28 02:01:52 +00:00
ENTRYPOINT ["/bin/woodpecker-agent"]