3 ms·
Not op, but alpine package manager leaves a lot to be desired especially compared to ubuntu. Also much easier to set locale. Since minimal ubuntu & debian exist
by 60secz 6y ago
Not op, but alpine package manager leaves a lot to be desired especially compared to ubuntu. Also much easier to set locale. Since minimal ubuntu & debian exist, I think the question should be: "Why would you use alpine?" especially considering potentially slower performance:
https://pythonspeed.com/articles/alpine-docker-python/ https://pythonspeed.com/articles/alpine-docker-python/
- yjftsjthsd-h 6y ago> Not op, but alpine package manager leaves a lot to be desired especially compared to ubuntu. How so? If anything, apk is way nicer than apt in a container build script (or anything automated); with apt you have to use -y and maybe force the noninteractive frontend, where `apk add foo` just works, correctly, automatically, with no effort required. > Also much easier to set locale. > considering potentially slower performance: It's slower at installing python packages from pypi since it can't use cached versions. That's not the same thing as "it's slow". > Since minimal ubuntu & debian exist, I think the question should be: "Why would you use alpine?" Because minimal ubuntu is still ~3 times the size of alpine, alpine is much smaller and simpler, alpine defaults to staying small (even if you remember to --no-install-recommends, deb packages are bigger and less modular), and I don't have to remember how to force apt to run in "no really install without asking questions" mode.
- tams 6y agoHaving built several Alpine and Debian-based images, Alpine has always been very nice for the happy path, but much more hassle to get out of a hole when something broke due to software misbehaving due non-Alpine assumptions. Debian in Docker in comparison offer less surprises, but you have to consistently do the right incantations. Regarding missing binary wheels on ARM: with more ARM laptops in the wild those would eventually become more common.