Find a file
Ricard Bejarano 77047757b3
replaced root
2019-03-17 23:33:44 +01:00
glibc added stub_status module 2019-03-13 09:31:02 +01:00
musl added stub_status module 2019-03-13 09:31:02 +01:00
rootfs replaced root 2019-03-17 23:33:44 +01:00
LICENSE updated copyright year 2019-02-02 17:02:49 +01:00
README.md fixed musl-based image size 2019-03-16 11:40:38 +01:00

nginx (Docker image)

Built-from-source container image of the NGINX HTTP server

Available at ricardbejarano/nginx.

Tags

1.15.9-glibc, 1.15.9, glibc, latest (glibc/Dockerfile)

1.15.9-musl, musl (musl/Dockerfile)

Features

  • Super tiny (glibc-based is ~13MB and musl-based is ~12.3MB)
  • Built from source, including libraries
  • Built from scratch, see the Filesystem section below for an exhaustive list of the image's contents
  • Included TLS1.3 protocol support (with OpenSSL)
  • Reduced attack surface (no bash, no UNIX tools, no package manager...)

Filesystem

The images' contents are:

glibc

Based on the glibc implementation of libc.

/
├── etc/
│   ├── group/
│   ├── nginx/
│   │   ├── html/
│   │   │   ├── 50x.html
│   │   │   └── index.html
│   │   ├── mime.types
│   │   └── nginx.conf
│   └── passwd
├── lib/
│   └── x86_64-linux-gnu/
│       ├── libc.so.6
│       ├── libcrypt.so.1
│       ├── libdl.so.2
│       ├── libnss_dns.so.2
│       ├── libnss_files.so.2
│       ├── libpthread.so.0
│       └── libresolv.so.2
├── lib64/
│   └── ld-linux-x86-64.so.2
├── nginx
└── tmp/
    └── .keep

musl

Based on the musl implementation of libc.

/
├── etc/
│   ├── group
│   ├── nginx/
│   │   ├── html/
│   │   │   ├── 50x.html
│   │   │   └── index.html
│   │   ├── mime.types
│   │   └── nginx.conf
│   └── passwd
├── lib/
│   ├── ld-musl-x86_64.so.1
│   └── libssl.so.1.1
├── nginx
└── tmp/
    └── .keep

License

See LICENSE.