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"]