Skip to main content

Decision: Choosing a Docker base image

๐Ÿ“” What is it - The Dockerfile that is included inherits from a base Node.js image. There are variois considerations when choosing the right option which are listed below

โฐ Status - Open for discussions

๐Ÿ“ Corresponding discussion - Here

๐ŸŽฏBottom-line: our recommendation - TBD

๐Ÿ“Š Detailed comparison table

full-blown

bullseye-slim

alpine

Key Dimensions

Officially supported

Yes


Yes


No? Looking for sources
CVEs (Medium severity and above)

โ—๏ธTrivy: 521, Snyk: TBD


Trivy: 11 high, Snyk: TBD


Trivy: 0 high, Snyk: TBD
Size in MB

950 MB


150 MB


90 MB
Native modules installation
Packages that run native code installer (e.g., with node-gyp)


Standard C compiler glibc


Standard C compiler glibc


A less standard compiler, musl - might break under some circumstances

Other important dimensions to consider?