Re:We reduced a real Node.js production Docker image from 1....
by ashishb on Saturday May 23, 2026 @06:48PM
(#48252364)
Alpine is a bad idea for a non-trivial application written in Python, Node.js, or any other interpreted language.
Too many weird edge cases to deal with, especially related to Alpine using musl libc instead of glibc.
At best, your builds are slower.
At worst, certain code paths are broken.
Re:We reduced a real Node.js production Docker image from 1....
by stavros on Saturday May 23, 2026 @07:04PM
(#48252478)
I had this experience as well, nowadays I use Debian slim. Too much random breakage in Alpine.
Re:We reduced a real Node.js production Docker image from 1....
by apimade on Saturday May 23, 2026 @09:37PM
(#48253480)
Alpine is a great choice.. Provided you understand what’s included, and the ramifications it has on the stack you’re trying to work with.
99 times out of 100 it’s a terrible choice for an enterprise.
Re:We reduced a real Node.js production Docker image from 1....
by Tiberium on Saturday May 23, 2026 @06:46PM
(#48252350)
Musl is much less optimized than glibc, random example: https://andygrove.io/2020/05/why-musl-extremely-slow/
Switching to debian reduced it to microseconds.
Does anyone here know what I was doing wrong with alpine?