Open
Description
Describe the bug
Problem: When following the various spots in the NAP WAF documentation that instruct you to call docker build, the build will fail if you are running it from a system with an architecture other than amd64 such as M1 mac. The build fails to find the app protect packages, as it is looking for packages that match the architecture of the system you are building the container on.
Resolution:
You need to explicitly pass in a platform to docker build: --platform linux/amd64
Notes:
There are several locations that need to be updated in the docs:
- NAP4 NGINX App Protect WAF Administration Guide - Docker Deployments
- NAP4 NGINX App Protect WAF Administration Guide - Converter Tool Docker Image
- NAP 5 Deploy NGINX App Protect WAF with Docker
- NAP DoS Deployment Guide
You might want to check of there's an equivalent for the podman builds that occur in various places in the NAP docs
As reported by @aknot242