1.2 KiB
1.2 KiB
nginx (container image)
Built-from-source container image of the NGINX HTTP server
Tags
Docker Hub
Available on Docker Hub as docker.io/ricardbejarano/nginx
:
RedHat Quay
Available on RedHat Quay as quay.io/ricardbejarano/nginx
:
Features
- Compiled from source during build time
- Built
FROM scratch
, with zero bloat - Statically linked to the
musl
implementation of the C standard library - Reduced attack surface (no shell, no UNIX tools, no package manager...)
- Runs as unprivileged (non-
root
) user
Building
docker build --tag ricardbejarano/nginx --file Dockerfile .
Configuration
Volumes
- Mount your configuration at
/etc/nginx/nginx.conf
.
License
MIT licensed, see LICENSE for more details.