diff --git a/.goreleaser-ci.yaml b/.goreleaser-ci.yaml index 85d4ccba..bc20c7ba 100644 --- a/.goreleaser-ci.yaml +++ b/.goreleaser-ci.yaml @@ -4,7 +4,7 @@ snapshot: builds: - env: [CGO_ENABLED=0] flags: - - -tags=viper_bind_struct + - -tags=viper_bind_struct # https://github.com/caas-team/sparrow/issues/78, https://github.com/spf13/viper/pull/1429#issuecomment-1870976604 ldflags: - -s -w -X main.version={{ .Version }} - -extldflags "-static" diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3a1d07da..d8ffebe1 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -2,7 +2,7 @@ project_name: sparrow builds: - env: [CGO_ENABLED=0] flags: - - -tags=viper_bind_struct + - -tags=viper_bind_struct # https://github.com/caas-team/sparrow/issues/78, https://github.com/spf13/viper/pull/1429#issuecomment-1870976604 ldflags: - -s -w -X main.version={{ .Tag }} - -extldflags "-static" diff --git a/Dockerfile b/Dockerfile index 4a590d19..d210e859 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.18 as prep +FROM alpine:3.19 as prep RUN apk add --no-cache ca-certificates RUN adduser \