2 ms·
Alpine is compiled against musl libc, so the binaries are much smaller. Id addition to tgat, it uses Busybox.
by petre 9y ago
Alpine is compiled against musl libc, so the binaries are much smaller. Id addition to tgat, it uses Busybox.
- simfoo 9y agoBut musl is linked statically, therefore the image must contain multiple instances of the library. Very impressive that the Alpine image still comes out smaller
- anarazel 9y agoI can't imagine that to be one of the more significant factors in this case. It's much more likely that the ubuntu version includes a lot more functionality. Just looking at the configure flags: Alpine: --with-ldap --with-libedit-preferred --with-libxml--with-openssl --with-perl --with-python --with-tcl --with-uuid=e2fs Debian: --with-icu --with-tcl --with-perl --with-python --with-pam --with-openssl --with-libxml --with-libxslt --enable-nls --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --enable-debug --disable-rpath --with-uuid=e2fs --with-gssapi --with-ldap --with-selinux Specifically the differences in enabling ICU (portable collations) and nls (i.e. translations) alone are probably going to be the majority of difference in installed size.