-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Is your feature request related to a problem? Please describe.
As a developer, I want to be able to easily select the NGINX Agent version (v2 or v3) when building NAP WAF images for NIC.
Right now, the Dockerfile defaults to Agent v2 (for NIM compatibility), but NGINX One requires Agent v3. This makes it difficult to test or use NGINX One with NAP WAF images.
This is only possible to do this using the Dockerfile and Makefile. These images that include NAP and Agent V3 will not be published at this time. These have to be created locally using a make command. eg. make alpine-image-nap-v5-plus-fips NAP_AGENT_VERSION=3
(see more here)
This will only allow us to create the image locally for testing purposes.
Describe the solution you'd like
Add a Docker ARG or build option to let me specify the Agent version (v2 or v3) when building NAP WAF images. This should work like it does for non-NAP images (see #8208).
Describe alternatives you've considered
- Manually editing the Dockerfile to change the Agent version
- Creating separate Dockerfile with Agent V3 changes
Additional context
- Default should remain Agent v2 for NIM compatability
Metadata
Metadata
Assignees
Labels
Type
Projects
Status