From 7efb4fa9bbb353b132b1d01ad0f99376521c0a69 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Mon, 21 Apr 2025 15:50:28 +0200 Subject: [PATCH] fix: containerfile missing ca-certs --- .goreleaser.yml | 2 +- Containerfile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index c89e189..a3836e9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -93,7 +93,7 @@ docker_manifests: nfpms: - maintainer: Felipe Martin - description: SMTP server to forward messages to shoutrrr endpoints + description: A chatbot server with customizable commands and triggers homepage: https://git.nakama.town/fmartingr/butterrobot license: AGPL-3.0 formats: diff --git a/Containerfile b/Containerfile index 6a9ff7d..dba7771 100644 --- a/Containerfile +++ b/Containerfile @@ -1,6 +1,10 @@ # This file is used directly by the goreleaser build # It is used to build the final container image +FROM alpine as builder +RUN apk --no-cache --update add ca-certificates + FROM scratch WORKDIR / +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY /butterrobot /usr/bin/butterrobot ENTRYPOINT ["/usr/bin/butterrobot"]