bump alpine version to 3.20 to custom-error-pages (#11530)
This commit is contained in:
parent
7de28cfcdb
commit
773590f791
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
ARG GOLANG_VERSION
|
ARG GOLANG_VERSION
|
||||||
|
|
||||||
FROM golang:${GOLANG_VERSION}-alpine3.18 as builder
|
FROM golang:${GOLANG_VERSION}-alpine3.20 as builder
|
||||||
|
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk upgrade && apk add git
|
&& 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
|
COPY --from=builder /go/src/k8s.io/ingress-nginx/images/custom-error-pages/etc /etc
|
||||||
USER nonroot:nonroot
|
USER nonroot:nonroot
|
||||||
|
|
||||||
CMD ["/nginx-errors"]
|
CMD ["/nginx-errors"]
|
||||||
|
|
Loading…
Reference in a new issue