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 DOWNLOAD_TAG=edge
7
10
ARG DEBIAN_FRONTEND=noninteractive
@@ -11,8 +14,8 @@ ARG PACKAGE_REPO=pkgs.nginx.com
11
14
12
15
13
16
############################################# Base images containing libs for FIPS #############################################
14
-
FROM ghcr.io/nginx/dependencies/nginx-ubi:ubi8@sha256:1253fe92cb86359f8b3433e4fdb1a07eef5a6e04d27c050edf00e98ffd283742 AS ubi8-packages
15
-
FROM ghcr.io/nginx/dependencies/nginx-ubi:ubi9@sha256:625782628d499ae83b9781968db1cfb91bed128ac07116c938957d9a25db82a9 AS ubi9-packages
17
+
FROM ghcr.io/nginx/dependencies/nginx-ubi:ubi8@sha256:8d0c9d6ec488e7f393d4563fa6ac82b572873fe691eb7e6e9c86366373f4273d AS ubi8-packages
18
+
FROM ghcr.io/nginx/dependencies/nginx-ubi:ubi9@sha256:073c40696d255cbc11aff52473f975e99c8253e0982da7f42d9f70b567b31eb2 AS ubi9-packages
16
19
FROM ghcr.io/nginx/alpine-fips:0.4.0-alpine3.19@sha256:0b400b81b5f403d69535a54839296ae35ced374eb1bb04db5b4282f380fef09a AS alpine-fips-3.19
17
20
FROM ghcr.io/nginx/alpine-fips:0.4.0-alpine3.22@sha256:61ed75f252bde7da1e6db33d2709456e87478280dfae3d11084f94c361e9f329 AS alpine-fips-3.22
18
21
FROM redhat/ubi9-minimal:9.6@sha256:7c5495d5fad59aaee12abc3cbbd2b283818ee1e814b00dbc7f25bf2d14fa4f0c AS ubi-minimal
@@ -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,14 +267,14 @@ 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