fix: containerfile not including certs
Some checks failed
ci/woodpecker/tag/release Pipeline failed

This commit is contained in:
Felipe M 2025-01-27 21:02:31 +01:00
parent bd8a3395e9
commit a0eb52520d
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8

View file

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