@@ -14,7 +14,6 @@ PLUS_REPO ?= "pkgs.nginx.com" ## The package repo to install
14
14
override DOCKER_BUILD_OPTIONS += --build-arg IC_VERSION=$(VERSION ) --build-arg PACKAGE_REPO=$(PLUS_REPO ) # # The options for the docker build command. For example, --pull
15
15
ARCH ?= amd64 # # The architecture of the image or binary. For example: amd64, arm64, ppc64le, s390x. Not all architectures are supported for all targets
16
16
GOOS ?= linux # # The OS of the binary. For example linux, darwin
17
- NGINX_AGENT ?= true
18
17
TELEMETRY_ENDPOINT ?= oss.edge.df.f5.com:443
19
18
20
19
# Additional flags added here can be accessed in main.go.
@@ -151,38 +150,32 @@ alpine-image-plus-fips: build ## Create Docker image for Ingress Controller (Alp
151
150
152
151
.PHONY : alpine-image-nap-plus-fips
153
152
alpine-image-nap-plus-fips : build # # Create Docker image for Ingress Controller (Alpine with NGINX Plus, NGINX App Protect WAF and FIPS)
154
- $(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=alpine-plus-nap-fips --build-arg NGINX_AGENT= $( NGINX_AGENT )
153
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=alpine-plus-nap-fips
155
154
156
155
.PHONY : alpine-image-nap-v5-plus-fips
157
156
alpine-image-nap-v5-plus-fips : build # # Create Docker image for Ingress Controller (Alpine with NGINX Plus, NGINX App Protect WAFv5 and FIPS)
158
157
$(DOCKER_CMD ) $(PLUS_ARGS ) \
159
- --build-arg BUILD_OS=alpine-plus-nap-v5-fips \
160
- --build-arg NGINX_AGENT=$(NGINX_AGENT ) \
161
- --build-arg WAF_VERSION=v5
158
+ --build-arg BUILD_OS=alpine-plus-nap-v5-fips
162
159
163
160
.PHONY : debian-image-plus
164
161
debian-image-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus)
165
162
$(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus
166
163
167
164
.PHONY : debian-image-nap-plus
168
165
debian-image-nap-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus and NGINX App Protect WAF)
169
- $(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus-nap --build-arg NAP_MODULES=waf --build-arg NGINX_AGENT= $( NGINX_AGENT )
166
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus-nap --build-arg NAP_MODULES=waf
170
167
171
168
.PHONY : debian-image-nap-v5-plus
172
169
debian-image-nap-v5-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus and NGINX App Protect WAFv5)
173
- $(DOCKER_CMD ) $(PLUS_ARGS ) \
174
- --build-arg BUILD_OS=debian-plus-nap-v5 \
175
- --build-arg NAP_MODULES=waf \
176
- --build-arg NGINX_AGENT=$(NGINX_AGENT ) \
177
- --build-arg WAF_VERSION=v5
170
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus-nap-v5
178
171
179
172
.PHONY : debian-image-dos-plus
180
173
debian-image-dos-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus and NGINX App Protect DoS)
181
174
$(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus-nap --build-arg NAP_MODULES=dos
182
175
183
176
.PHONY : debian-image-nap-dos-plus
184
177
debian-image-nap-dos-plus : build # # Create Docker image for Ingress Controller (Debian with NGINX Plus, NGINX App Protect WAF and DoS)
185
- $(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus-nap --build-arg NAP_MODULES=waf,dos --build-arg NGINX_AGENT= $( NGINX_AGENT )
178
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --build-arg BUILD_OS=debian-plus-nap --build-arg NAP_MODULES=waf,dos
186
179
187
180
.PHONY : ubi-image
188
181
ubi-image : build # # Create Docker image for Ingress Controller (UBI)
@@ -194,23 +187,29 @@ ubi-image-plus: build ## Create Docker image for Ingress Controller (UBI with NG
194
187
195
188
.PHONY : ubi-image-nap-plus
196
189
ubi-image-nap-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus and NGINX App Protect WAF)
197
- $(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 )
190
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-9-plus-nap --build-arg NAP_MODULES=waf
191
+
192
+ .PHONY : ubi8-image-nap-plus
193
+ ubi8-image-nap-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus and NGINX App Protect WAF)
194
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-8-plus-nap --build-arg NAP_MODULES=waf
198
195
199
196
.PHONY : ubi-image-nap-v5-plus
200
197
ubi-image-nap-v5-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus and NGINX App Protect WAFv5)
201
198
$(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license \
202
- --build-arg BUILD_OS=ubi-9-plus-nap-v5 \
203
- --build-arg NAP_MODULES=waf \
204
- --build-arg NGINX_AGENT=$(NGINX_AGENT ) \
205
- --build-arg WAF_VERSION=v5
199
+ --build-arg BUILD_OS=ubi-9-plus-nap-v5
200
+
201
+ .PHONY : ubi8-image-nap-v5-plus
202
+ ubi8-image-nap-v5-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus and NGINX App Protect WAFv5)
203
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license \
204
+ --build-arg BUILD_OS=ubi-8-plus-nap-v5
206
205
207
206
.PHONY : ubi-image-dos-plus
208
207
ubi-image-dos-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus and NGINX App Protect DoS)
209
208
$(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-9-plus-nap --build-arg NAP_MODULES=dos
210
209
211
210
.PHONY : ubi-image-nap-dos-plus
212
211
ubi-image-nap-dos-plus : build # # Create Docker image for Ingress Controller (UBI with NGINX Plus, NGINX App Protect WAF and DoS)
213
- $(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-9-plus-nap --build-arg NAP_MODULES=waf,dos --build-arg NGINX_AGENT= $( NGINX_AGENT )
212
+ $(DOCKER_CMD ) $(PLUS_ARGS ) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-9-plus-nap --build-arg NAP_MODULES=waf,dos
214
213
215
214
.PHONY : all-images # # Create all the Docker images for Ingress Controller
216
215
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
0 commit comments