Merge pull request 'Update alpine Docker tag to v3.20' (#8) from renovate/alpine-3.x into main
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run

Reviewed-on: #8
This commit is contained in:
Alexandre Bruyant 2024-11-09 15:28:00 +00:00
commit 3e2cb30f97

View File

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