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

View file

@ -67,7 +67,7 @@ dockers:
goarch: arm64
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
- "--platform=linux/arm64/v8"
- image_templates:
- &armv7_image "git.nakama.town/fmartingr/butterrobot:{{ .Version }}-armv7"
use: buildx
@ -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 golang:alpine as build
RUN apk --no-cache --update add ca-certificates
FROM scratch
WORKDIR /
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY /butterrobot /usr/bin/butterrobot
ENTRYPOINT ["/usr/bin/butterrobot"]