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? |