mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
d15c642f91
* release cli images * update docs Co-authored-by: 6543 <6543@obermui.de>
16 lines
428 B
Docker
16 lines
428 B
Docker
# docker build --rm -f docker/Dockerfile.cli -t woodpeckerci/woodpecker-cli .
|
|
|
|
# use golang image to copy ssl certs later
|
|
FROM golang:1.16
|
|
|
|
FROM scratch
|
|
|
|
# copy certs from golang:1.16 image
|
|
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
|
|
ENV GODEBUG=netdns=go
|
|
ADD dist/cli/linux_amd64/woodpecker-cli /bin/
|
|
|
|
HEALTHCHECK CMD ["/bin/woodpecker-cli", "ping"]
|
|
|
|
ENTRYPOINT ["/bin/woodpecker-cli"]
|