This commit is contained in:
parent
6aedfc794f
commit
eb5b7eb346
2 changed files with 6 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue