@@ -31,8 +31,8 @@ export DOCKER_BUILDKIT = 1
31
31
32
32
.PHONY : help
33
33
help : Makefile # # Display this help
34
- @grep -E ' ^[a-zA-Z_ -]+:.*?## .*$$' $(MAKEFILE_LIST ) | sort | awk ' BEGIN {FS = ":.*?## "; printf "Usage:\n\n make \033[36m<target>\033[0m [VARIABLE=value...]\n\nTargets:\n\n"}; {printf " \033[36m%-30s\033[0m %s\n", $$1, $$2}'
E7F5
35
- @grep -E ' ^(override )?[a-zA-Z_ -]+ \??\+?= .*? ## .*$$' $< | sort | awk ' BEGIN {FS = " \\??\\+?= .*? ## "; printf "\nVariables:\n\n"}; {gsub(/override /, "", $$1); printf " \033[36m%-30s\033[0m %s\n", $$1, $$2}'
34
+ @grep -E ' ^[a-zA-Z0-9_ -]+:.*?## .*$$' $(MAKEFILE_LIST ) | sort | awk ' BEGIN {FS = ":.*?## "; printf "Usage:\n\n make \033[36m<target>\033[0m [VARIABLE=value...]\n\nTargets:\n\n"}; {printf " \033[36m%-30s\033[0m %s\n", $$1, $$2}'
35
+ @grep -E ' ^(override )?[a-zA-Z0-9_ -]+ \??\+?= .*? ## .*$$' $< | sort | awk ' BEGIN {FS = " \\??\\+?= .*? ## "; printf "\nVariables:\n\n"}; {gsub(/override /, "", $$1); printf " \033[36m%-30s\033[0m %s\n", $$1, $$2}'
36
36
37
37
.PHONY : all
38
38
all : test lint verify-codegen update-crds debian-image
@@ -141,6 +141,13 @@ alpine-image-plus-fips: build ## Create Docker image for Ingress Controller (Alp
141
141
alpine-image-nap-plus-fips : build # # Create Docker image for Ingress Controller (Alpine with NGINX Plus, NGINX App Protect WAF and FIPS)
142
142
$(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=alpine-plus-nap-fips --build-arg NGINX_AGENT=$(NGINX_AGENT )
143
143
144
+ .PHONY : alpine-image-nap-v5-plus-fips
145
+ alpine-image-nap-v5-plus-fips : build # # Create Docker image for Ingress Controller (Alpine with NGINX Plus, NGINX App Protect WAFv5 and FIPS)
146
+ $(DOCKER_CMD ) $(PLUS_ARGS ) \
147
+ --build-arg BUILD_OS=alpine-plus-nap-v5-fips \
148
+ --build-arg NGINX_AGENT=$(NGINX_AGENT ) \
149
+ --build-arg WAF_VERSION=v5
150
+
144
151
.PHONY : debian-image-plus
145
152
debian-image-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus)
146
153
$(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus
@@ -149,6 +156,14 @@ debian-image-plus: build ## Create Docker image for Ingress Controller (Debian w
149
156
debian-image-nap-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus and NGINX App Protect WAF)
150
157
$(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus-nap --build-arg NAP_MODULES=waf --build-arg NGINX_AGENT=$(NGINX_AGENT )
151
158
159
+ .PHONY : debian-image-nap-v5-plus
160
+ debian-image-nap-v5-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus and NGINX App Protect WAFv5)
161
+ $(DOCKER_CMD ) $(PLUS_ARGS ) \
162
+ --build-arg BUILD_OS=debian-plus-nap-v5 \
163
+ --build-arg NAP_MODULES=waf \
164
+ --build-arg NGINX_AGENT=$(NGINX_AGENT ) \
165
+ --build-arg WAF_VERSION=v5
166
+
152
167
.PHONY : debian-image-dos-plus
153
168
debian-image-dos-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus and NGINX App Protect DoS)
154
169
$(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus-nap --build-arg NAP_MODULES=dos
@@ -169,6 +184,14 @@ ubi-image-plus: build ## Create Docker image for Ingress Controller (UBI with NG
169
184
ubi-image-nap-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus and NGINX App Protect WAF)
170
185
$(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-9-plus-nap --build-arg NAP_MODULES=waf --build-arg NGINX_AGENT=$(NGINX_AGENT )
171
186
187
+ .PHONY : ubi-image-nap-v5-plus
188
+ ubi-image-nap-v5-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus and NGINX App Protect WAFv5)
189
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license \
190
+ --build-arg BUILD_OS=ubi-9-plus-nap-v5 \
191
+ --build-arg NAP_MODULES=waf \
192
+ --build-arg NGINX_AGENT=$(NGINX_AGENT ) \
193
+ --build-arg WAF_VERSION=v5
194
+
172
195
.PHONY : ubi-image-dos-plus
173
196
ubi-image-dos-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus and NGINX App Protect DoS)
174
197
$(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-8-plus-nap --build-arg NAP_MODULES=dos
@@ -177,6 +200,14 @@ ubi-image-dos-plus: build ## Create Docker image for Ingress Controller (UBI wit
177
200
ubi-image-nap-dos-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus, NGINX App Protect WAF and DoS)
178
201
$(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-8-plus-nap --build-arg NAP_MODULES=waf,dos --build-arg NGINX_AGENT=$(NGINX_AGENT )
179
202
203
+ .PHONY : ubi-image-nap-dos-v5-plus
204
+ ubi-image-nap-dos-v5-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus, NGINX App Protect WAFv5 and DoS)
205
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license \
206
+
600E
--build-arg BUILD_OS=ubi-8-plus-nap-v5 \
207
+ --build-arg NAP_MODULES=waf,dos \
208
+ --build-arg NGINX_AGENT=$(NGINX_AGENT ) \
209
+ --build-arg WAF_VERSION=v5
210
+
180
211
.PHONY : all-images # # Create all the Docker images for Ingress Controller
181
212
all-images : alpine-image alpine-image-plus alpine-image-plus-fips alpine-image-nap-plus-fips debian-image debian-image-plus debian-image-nap-plus debian-image-dos-plus debian-image-nap-dos-plus ubi-image ubi-image-plus ubi-image-nap-plus ubi-image-dos-plus ubi-image-nap-dos-plus
182
213
0 commit comments