This repository contains Dockerfile and build scripts for building a small, fast, and customized NGINX Docker image.
All modules has been removed to keep the footprint small (and more secure)
- (Optional) you may modify
scriptsdirectory to adapt to your needs. - run
make.
Note: When running make, you may specify version by setting VERSION_XXX, or set IMAGE and TAG for tagging Docker images.
- I recommend you use the latest version of Docker and deploy with
docker stack deploy -c nginx.yml nginx.
More information about docker stack deploy please check documents.