Why Your Docker Container Is 1.2GB When It Should Be 80MB(sandeepbansod.medium.com)
sandeepbansod.medium.com
Why Your Docker Container Is 1.2GB When It Should Be 80MB
https://sandeepbansod.medium.com/why-your-docker-container-is-1-2gb-when-it-should-be-80mb-7b443a90f60f
2 comments
I'm so so tired of this Alpine fetish. Alpine has its uses, but most of the time a slim Debian image (or indeed any distro out there) is just fine. With Alpine you are trading size for a lot of unexpected pain, so it's a move that has to be well-understood instead of being a blanket recommendation. The most common problem is building Python images, where you suddenly have to build most of your packages instead of using wheels, but subtle musl incompatibilities will bite you at the most inconvienient time.
An example with node 20?
Well, that's a good one. /S