1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-22 17:01:58 +01:00
drone-cli/Dockerfile
Soumyajit Das 08d7d8c803
[feat]: [CI-8942]: Add alpine support (#240)
* [feat]: [CI-8942]: Add alpine support

---------

Co-authored-by: TP Honey <tp@harness.io>
2023-09-05 14:49:20 +01:00

11 lines
256 B
Docker

FROM amd64/alpine:3.17 as alpine
RUN apk add -U --no-cache ca-certificates
FROM amd64/alpine:3.17
ENV GODEBUG netdns=go
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY release/linux/amd64/drone /bin/
ENTRYPOINT ["/bin/drone"]