bump alpine version to 3.20 to custom-error-pages (#11530)

This commit is contained in:
Olivier Wenger 2024-07-02 17:47:59 +02:00 committed by GitHub
parent 7de28cfcdb
commit 773590f791
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@
ARG GOLANG_VERSION
FROM golang:${GOLANG_VERSION}-alpine3.18 as builder
FROM golang:${GOLANG_VERSION}-alpine3.20 as builder
RUN apk update \
&& apk upgrade && apk add git
@ -37,4 +37,4 @@ COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/www /
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/etc /etc
USER nonroot:nonroot
CMD ["/nginx-errors"]
CMD ["/nginx-errors"]