You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build/Dockerfile
+36-8Lines changed: 36 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
ARG BUILD_OS=debian
3
3
ARG NGINX_OSS_VERSION=1.29
4
4
ARG NGINX_PLUS_VERSION=R35
5
+
ARG NAP_WAF_VERSION=35+5.498
6
+
ARG NAP_WAF_COMMON_VERSION=11.533
7
+
ARG NAP_WAF_PLUGIN_VERSION=6.20.0
5
8
ARG NGINX_AGENT_VERSION=3.3
6
9
ARG DOWNLOAD_TAG=edge
7
10
ARG DEBIAN_FRONTEND=noninteractive
@@ -207,6 +210,7 @@ RUN --mount=type=bind,from=alpine-fips-3.22,target=/tmp/fips/ \
207
210
############################################# Base image for Alpine with NGINX Plus, App Protect WAF and FIPS #############################################
208
211
FROM alpine:3.19@sha256:3be987e6cde1d07e873c012bf6cfe941e6e85d16ca5fc5b8bedc675451d2de67 AS alpine-plus-nap-fips
209
212
ARG NGINX_PLUS_VERSION
213
+
ARG NAP_WAF_VERSION
210
214
ARG PACKAGE_REPO
211
215
212
216
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
@@ -231,7 +235,7 @@ RUN --mount=type=bind,from=alpine-fips-3.19,target=/tmp/fips/ \
&& sed -i -e '/nginx.com/d' /etc/apk/repositories \
236
240
&& nap-waf.sh \
237
241
agent.sh
@@ -240,6 +244,7 @@ RUN --mount=type=bind,from=alpine-fips-3.19,target=/tmp/fips/ \
240
244
############################################# Base image for Alpine with NGINX Plus, App Protect WAFv5 and FIPS #############################################
241
245
FROM alpine:3.19@sha256:3be987e6cde1d07e873c012bf6cfe941e6e85d16ca5fc5b8bedc675451d2de67 AS alpine-plus-nap-v5-fips
242
246
ARG NGINX_PLUS_VERSION
247
+
ARG NAP_WAF_VERSION
243
248
ARG PACKAGE_REPO
244
249
245
250
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
@@ -262,7 +267,7 @@ RUN --mount=type=bind,from=alpine-fips-3.19,target=/tmp/fips/ \
@@ -354,6 +370,8 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode
354
370
############################################# Base image for Debian with NGINX Plus and App Protect WAFv5 #############################################
355
371
FROM debian-plus-only AS debian-plus-nap-v5
356
372
ARG NGINX_PLUS_VERSION
373
+
ARG NAP_WAF_VERSION
374
+
ARG NAP_WAF_PLUGIN_VERSION
357
375
358
376
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
359
377
@@ -365,7 +383,7 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode
0 commit comments