Skip to content

Commit 098c8bf

Browse files
authored
Bump NGINX Plus to R29 (#3833) (#3851)
(cherry picked from commit 186eec3)
1 parent f9ee37f commit 098c8bf

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
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1.5
22
ARG BUILD_OS=debian
3-
ARG NGINX_PLUS_VERSION=R28
3+
ARG NGINX_PLUS_VERSION=R29
44
ARG DOWNLOAD_TAG=edge
55

66

@@ -93,16 +93,14 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode
9393
&& printf "%s\n" "deb https://pkgs.nginx.com/app-protect/${NGINX_PLUS_VERSION}/debian ${DEBIAN_VERSION} nginx-plus" \
9494
"deb https://pkgs.nginx.com/app-protect-security-updates/debian ${DEBIAN_VERSION} nginx-plus" > /etc/apt/sources.list.d/nginx-app-protect.list \
9595
&& apt-get update \
96-
&& apt-get install --no-install-recommends --no-install-suggests -y app-protect app-protect-attack-signatures app-protect-threat-campaigns \
97-
# NAP DoS depends on curl so we can't remove it a the end
98-
&& apt-get purge --auto-remove -y curl; \
96+
&& apt-get install --no-install-recommends --no-install-suggests -y app-protect app-protect-attack-signatures app-protect-threat-campaigns; \
9997
fi \
10098
&& if [ -z "${NAP_MODULES##*dos*}" ]; then \
10199
printf "%s\n" "deb https://pkgs.nginx.com/app-protect-dos/${NGINX_PLUS_VERSION}/debian ${DEBIAN_VERSION} nginx-plus" > /etc/apt/sources.list.d/nginx-app-protect-dos.list \
102100
&& apt-get update \
103101
&& apt-get install --no-install-recommends --no-install-suggests -y app-protect-dos; \
104102
fi \
105-
&& apt-get purge --auto-remove -y apt-transport-https gnupg \
103+
&& apt-get purge --auto-remove -y apt-transport-https gnupg curl \
106104
&& rm -rf /var/lib/apt/lists/* \
107105
&& rm /etc/apt/sources.list.d/nginx-app-protect*.list
108106

0 commit comments

Comments
 (0)