Skip to content

Commit 6343708

Browse files
committed
Bump NGINX Plus version to R25 (#1998)
Bump N+ version in Dockerfile and allow overriding the N+ version in Makefile for NAP.
1 parent 4d38e37 commit 6343708

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ DATE = $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
66
VERSION = $(GIT_TAG)-SNAPSHOT-$(GIT_COMMIT_SHORT)
77
TAG = $(VERSION:v%=%)
88
TARGET ?= local
9+
NAP_PLUS_VERSION ?= r24
910

1011
override DOCKER_BUILD_OPTIONS += --build-arg IC_VERSION=$(VERSION) --build-arg GIT_COMMIT=$(GIT_COMMIT) --build-arg DATE=$(DATE)
1112
DOCKER_CMD = docker build $(DOCKER_BUILD_OPTIONS) --target $(TARGET) -f build/Dockerfile -t $(PREFIX):$(TAG) .
1213
PLUS_ARGS = --build-arg PLUS=-plus --build-arg FILES=plus-common --secret id=nginx-repo.crt,src=nginx-repo.crt --secret id=nginx-repo.key,src=nginx-repo.key
14+
NAP_ARGS = --build-arg FILES=nap-common --build-arg NGINX_PLUS_VERSION=$(NAP_PLUS_VERSION)
1315

1416
export DOCKER_BUILDKIT = 1
1517

@@ -78,7 +80,7 @@ debian-image-plus: build ## Create Docker image for Ingress Controller (nginx pl
7880

7981
.PHONY: debian-image-nap-plus
8082
debian-image-nap-plus: build ## Create Docker image for Ingress Controller (nginx plus with nap)
81-
$(DOCKER_CMD) $(PLUS_ARGS) --build-arg BUILD_OS=debian-plus-nap --build-arg FILES=nap-common
83+
$(DOCKER_CMD) $(PLUS_ARGS) $(NAP_ARGS) --build-arg BUILD_OS=debian-plus-nap
8284

8385
.PHONY: openshift-image
8486
openshift-image: build ## Create Docker image for Ingress Controller (ubi)
@@ -90,7 +92,7 @@ openshift-image-plus: build ## Create Docker image for Ingress Controller (ubi w
9092

9193
.PHONY: openshift-image-nap-plus
9294
openshift-image-nap-plus: build ## Create Docker image for Ingress Controller (ubi with plus and nap)
93-
$(DOCKER_CMD) $(PLUS_ARGS) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-plus-nap --build-arg FILES=nap-common --build-arg UBI_VERSION=7
95+
$(DOCKER_CMD) $(PLUS_ARGS) $(NAP_ARGS) --secret id=rhel_license,src=rhel_license --build-arg BUILD_OS=ubi-plus-nap --build-arg UBI_VERSION=7
9496

9597
.PHONY: debian-image-opentracing
9698
debian-image-opentracing: build ## Create Docker image for Ingress Controller (with opentracing)

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1.3
22
ARG BUILD_OS=debian
3-
ARG NGINX_PLUS_VERSION=r24
3+
ARG NGINX_PLUS_VERSION=r25
44
ARG UBI_VERSION=8
55
ARG FILES=
66

0 commit comments

Comments
 (0)