To build nginz natively, ensure to have the usual C compiler toolchains installed, along with the following dependencies:
If you're on alpine, see the Dockerfile for the precise dependency names. If you're on another platform, their names might differ slightly.
Once you have all necessary dependencies, make in this directory should work.
make docker