-
Notifications
You must be signed in to change notification settings - Fork 0
Alpine Linux
Cisco edited this page Oct 27, 2025
·
2 revisions
- distribution built around
musl libc(vs glibc on Debian) and BusyBox (simplified implementation of Unix commands, alternative to Gnu utils) - services are manages with
OpenRC(simple and script based) (vs systemd on Debian) - 5MB in size (vs 100 MB for Debian)
- has a package repository
- first version in 2006
- latest stable 3.21 as of Sep 2025
- Utilities such as Vim and Sudo can be installed for debugging purposes
-
apk add --no-cacheavoids runningapk updateand remove/var/cache/apk/*: helps keeping containers small
Note
Alpine does not include by default a number of packages, such as bash, nano, sed, sudo, curl, ...
Note
As it is built around musl libc, some softwares built for glibc (Oracle JDK or some Python package such as pandas) will require workarounds, sunch as installing compatibility layer (ex gcompat)
Tip
Multistage builds (building on Debian, running on Alpine) can be a compromise