Update alpine Docker tag to v3.21

This commit is contained in:
Renovate 2024-12-05 23:04:57 +00:00
parent c565fe84a0
commit 24b15a0762

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.20 as compressor FROM alpine:3.21 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