Update alpine Docker tag to v3.21 #15

Merged
alexandre merged 1 commits from renovate/alpine-3.x into main 2024-12-07 16:43:18 +00:00

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