Why Your Docker Container Is 1.2GB When It Should Be 80MB

(sandeepbansod.medium.com)

4 points | by thunderbong 10 hours ago ago

2 comments

  • pronik 10 hours ago ago

    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.

  • GuestFAUniverse 9 hours ago ago

    An example with node 20? Well, that's a good one. /S