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 7efb4fa9bb
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
2 changed files with 5 additions and 1 deletions

View file

@ -93,7 +93,7 @@ docker_manifests:
nfpms:
- maintainer: Felipe Martin <me@fmartingr.com>
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:

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