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
+39-11Lines changed: 39 additions & 11 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 NAP_AGENT_VERSION=2
7
10
ARG DOWNLOAD_TAG=edge
@@ -12,8 +15,8 @@ ARG PACKAGE_REPO=pkgs.nginx.com
12
15
13
16
14
17
############################################# Base images containing libs for FIPS #############################################
15
-
FROM ghcr.io/nginx/dependencies/nginx-ubi:ubi8@sha256:1253fe92cb86359f8b3433e4fdb1a07eef5a6e04d27c050edf00e98ffd283742 AS ubi8-packages
16
-
FROM ghcr.io/nginx/dependencies/nginx-ubi:ubi9@sha256:625782628d499ae83b9781968db1cfb91bed128ac07116c938957d9a25db82a9 AS ubi9-packages
18
+
FROM ghcr.io/nginx/dependencies/nginx-ubi:ubi8@sha256:8d0c9d6ec488e7f393d4563fa6ac82b572873fe691eb7e6e9c86366373f4273d AS ubi8-packages
19
+
FROM ghcr.io/nginx/dependencies/nginx-ubi:ubi9@sha256:073c40696d255cbc11aff52473f975e99c8253e0982da7f42d9f70b567b31eb2 AS ubi9-packages
17
20
FROM ghcr.io/nginx/alpine-fips:0.4.0-alpine3.19@sha256:0b400b81b5f403d69535a54839296ae35ced374eb1bb04db5b4282f380fef09a AS alpine-fips-3.19
18
21
FROM ghcr.io/nginx/alpine-fips:0.4.0-alpine3.22@sha256:61ed75f252bde7da1e6db33d2709456e87478280dfae3d11084f94c361e9f329 AS alpine-fips-3.22
19
22
FROM redhat/ubi9-minimal:9.6@sha256:7c5495d5fad59aaee12abc3cbbd2b283818ee1e814b00dbc7f25bf2d14fa4f0c AS ubi-minimal
@@ -208,6 +211,7 @@ RUN --mount=type=bind,from=alpine-fips-3.22,target=/tmp/fips/ \
208
211
############################################# Base image for Alpine with NGINX Plus, App Protect WAF and FIPS #############################################
209
212
FROM alpine:3.19@sha256:3be987e6cde1d07e873c012bf6cfe941e6e85d16ca5fc5b8bedc675451d2de67 AS alpine-plus-nap-fips
210
213
ARG NGINX_PLUS_VERSION
214
+
ARG NAP_WAF_VERSION
211
215
ARG PACKAGE_REPO
212
216
ARG NAP_AGENT_VERSION
213
217
@@ -233,7 +237,7 @@ RUN --mount=type=bind,from=alpine-fips-3.19,target=/tmp/fips/ \
@@ -358,6 +374,8 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode
358
374
############################################# Base image for Debian with NGINX Plus and App Protect WAFv5 #############################################
359
375
FROM debian-plus-only AS debian-plus-nap-v5
360
376
ARG NGINX_PLUS_VERSION
377
+
ARG NAP_WAF_VERSION
378
+
ARG NAP_WAF_PLUGIN_VERSION
361
379
ARG NAP_AGENT_VERSION
362
380
363
381
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
@@ -370,7 +388,7 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode
0 commit comments