8000 Merge master into fix/vsr-status · nginx/kubernetes-ingress@1601542 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1601542

Browse files
authored
Merge master into fix/vsr-status
2 parents 8c4c8f7 + af49d9c commit 1601542

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

build/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ RUN apt-get update \
2020
FROM docker.io/library/nginx:1.21.1-alpine AS alpine
2121

2222
RUN apk add --no-cache libcap \
23-
# temporary fix for CVE-2021-3711
24-
&& apk upgrade --no-cache libcrypto1.1 libssl1.1
23+
# temporary fix for CVE-2021-33560
24+
&& apk upgrade --no-cache libgcrypt
2525

2626

2727
############################################# Base image for Alpine with NGINX Plus #############################################
@@ -32,9 +32,7 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/apk/cert.pem,mode=0644 \
3232
--mount=type=secret,id=nginx-repo.key,dst=/etc/apk/cert.key,mode=0644 \
3333
wget -nv -O /etc/apk/keys/nginx_signing.rsa.pub https://cs.nginx.com/static/keys/nginx_signing.rsa.pub \
3434
&& printf "%s\n" "https://pkgs.nginx.com/plus/alpine/v$(grep -E -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" >> /etc/apk/repositories \
35-
&& apk add --no-cache libcap nginx-plus~${NGINX_PLUS_VERSION#r} nginx-plus-module-njs~${NGINX_PLUS_VERSION#r} \
36-
# temporary fix for CVE-2021-3711 and CVE-2021-36159
37-
&& apk upgrade --no-cache libcrypto1.1 libssl1.1 apk-tools
35+
&& apk add --no-cache libcap nginx-plus~${NGINX_PLUS_VERSION#r} nginx-plus-module-njs~${NGINX_PLUS_VERSION#r}
3836

3937

4038
############################################# Base image for Debian with NGINX Plus #############################################

0 commit comments

Comments
 (0)
0