This Dockerfile builds NGINX Unit from source, including njs, and by applying any .patch
files found in the current directory.
The latest Docker Official Image is used to select the code branch and copies the configure arguments so that the lanauge module in the Docker Image is compatible with the new unitd binary.
Build by specifying the tag of the most suitable Docker Official Image as
docker build --build-arg TAG=php -t unit:test .