Merge pull request 'Update alpine Docker tag to v3.21' (#15) from renovate/alpine-3.x into main
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled

Reviewed-on: #15
This commit is contained in:
Alexandre Bruyant 2024-12-07 16:43:18 +00:00
commit 554d9841b0

View File

@ -11,7 +11,7 @@ RUN go build \
.
RUN echo "nobody:x:65534:65534:Nobody:/:" > /etc_passwd
FROM alpine:3.20 as compressor
FROM alpine:3.21 as compressor
RUN apk add --no-cache upx binutils
COPY --from=builder --chown=65534:0 /bin/app /app
RUN strip /app && upx -q -9 /app