The alpine images we use (i.e. node:16-alpine) actually pull unofficial Node.js builds. The node:16-slim image pulls an official build, but will have a slightly larger image size. It also lets us standardize back on familiar deb-based tooling instead of the Alpine apk tooling.
Summary
I read this article recently: https://snyk.io/blog/choosing-the-best-node-js-docker-image/
The alpine images we use (i.e.
node:16-alpine
) actually pull unofficial Node.js builds. Thenode:16-slim
image pulls an official build, but will have a slightly larger image size. It also lets us standardize back on familiardeb
-based tooling instead of the Alpineapk
tooling.