mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
12 lines
299 B
Docker
12 lines
299 B
Docker
|
# docker build --rm -f docker/Dockerfile.cli.alpine -t woodpeckerci/woodpecker-cli .
|
||
|
|
||
|
FROM alpine:3.14
|
||
|
RUN apk add -U --no-cache ca-certificates
|
||
|
|
||
|
ENV GODEBUG=netdns=go
|
||
|
ADD dist/cli/linux_amd64/woodpecker-cli /bin/
|
||
|
|
||
|
HEALTHCHECK CMD ["/bin/woodpecker-cli", "ping"]
|
||
|
|
||
|
ENTRYPOINT ["/bin/woodpecker-cli"]
|