updated readme

This commit is contained in:
Ricard Bejarano 2022-03-20 18:56:35 +01:00
parent d9aedd3715
commit e7b128bc7f
No known key found for this signature in database
GPG key ID: 98E8072CB960073F

View file

@ -1,6 +1,17 @@
<p align="center"><img src="https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/320/apple/155/gear_2699.png" width="120px"></p>
<h1 align="center">nginx (container image)</h1>
<p align="center">Built-from-source container image of the <a href="https://nginx.org/">NGINX</a> HTTP server</p>
<div align="center">
<p><img src="https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/160/apple/325/eagle_1f985.png" width="100px"></p>
<h1>nginx</h1>
<p>Built-from-source container image of <a href="https://nginx.org/">NGINX</a></p>
<code>docker pull quay.io/ricardbejarano/nginx</code>
</div>
## Features
* Compiled from source during build time
* Built `FROM scratch`, with zero bloat
* Reduced attack surface (no shell, no UNIX tools, no package manager...)
* Runs as unprivileged (non-`root`) user
## Tags
@ -18,29 +29,8 @@ Available on RedHat Quay as [`quay.io/ricardbejarano/nginx`](https://quay.io/rep
- [`1.21.6`, `latest` *(Dockerfile)*](Dockerfile)
## Features
* Compiled from source during build time
* Built `FROM scratch`, with zero bloat
* Statically linked to the [`musl`](https://musl.libc.org/) implementation of the C standard library
* Reduced attack surface (no shell, no UNIX tools, no package manager...)
* Runs as unprivileged (non-`root`) user
## Building
```bash
docker build --tag ricardbejarano/nginx --file Dockerfile .
```
## Configuration
### Volumes
- Mount your **configuration** at `/etc/nginx/nginx.conf`.
## License
MIT licensed, see [LICENSE](LICENSE) for more details.