Skip to content

sean-public/nginx-tiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

nginx-tiny docker image

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

docker pull seanpublic/nginx:tiny

Based on ricardbejarano/nginx, which I couldn't get to build due to errors and wanted to shrink even further. This is not for use in environments or circumstances where there's a chance you'll want to easily debug the running process because the binary has been stripped of symbols.

Features

  • Very small container: 3.2MB. Compare: nginx:1.15-alpine at 16.1MB and ricardbejarano/nginx is 12.3MB.
  • Uses musl in place of glibc
  • Strips and compresses nginx binary
  • Produces from scratch (no OS) container using Alpine Linux interim to build
  • Built from verified sources, including libraries with Position-Independent Code (-fPIC)
  • Reduced attack surface (no bash, no UNIX tools, no package manager...)

About

a very small nginx Docker image (3.2MB)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published