fix: containerfile missing ca-certs
Some checks failed
ci/woodpecker/tag/release Pipeline failed

This commit is contained in:
Felipe M 2025-04-21 15:50:28 +02:00
parent 6aedfc794f
commit a6b1b8fd3e
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8

View file

@ -1,6 +1,10 @@
# This file is used directly by the goreleaser build
# It is used to build the final container image
FROM golang:alpine as build
RUN apk --no-cache --update add ca-certificates
FROM scratch
WORKDIR /
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY /butterrobot /usr/bin/butterrobot
ENTRYPOINT ["/usr/bin/butterrobot"]