From a0eb52520da5476cc753651e4b10e4e379926803 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Mon, 27 Jan 2025 21:02:31 +0100 Subject: [PATCH] fix: containerfile not including certs --- Containerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Containerfile b/Containerfile index 9fa3ce9..0fc88f7 100644 --- a/Containerfile +++ b/Containerfile @@ -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"]