diff options
| author | Shulhan <ms@kilabit.info> | 2024-12-15 15:41:40 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-12-15 15:41:40 +0700 |
| commit | f5ff08f1e67770fc84c807cea95b38a95e80edd4 (patch) | |
| tree | 3b8aa31a83aa1e6013998af64b6107792a5f24d5 | |
| parent | a03286ef9b4c02f6d9674ae2a8ab8ff6549dbaae (diff) | |
| download | arch-docker-f5ff08f1e67770fc84c807cea95b38a95e80edd4.tar.xz | |
Arch Linux is not bloated.
Unlike other Linux distro, Arch Linux include documentation and
development files in one package, while other distro split it into
"-doc" and/or "-devel" packages.
DO NOT USE Alpine Linux just because you want smaller images.
Alpine Linux use Musl libc, the core library where every single program
depends on, which completely different with glibc that used by most Linux
distro where you probably develop and test your program.
And, no, Musl is
[not always](https://bell-sw.com/blog/alpaquita-linux-performance-the-race-is-on/)
[faster](https://users.rust-lang.org/t/optimizing-rust-binaries-observation-of-musl-versus-glibc-and-jemalloc-versus-system-alloc/8499)
than glibc.
If you did not know what is libc and why it will affect your program,
please do not use it for the sake of smaller images.
| -rw-r--r-- | .gitignore | 9 | ||||
| -rw-r--r-- | README.md | 21 |
2 files changed, 26 insertions, 4 deletions
@@ -1,9 +1,10 @@ -arch-base-mongodb/data.mongodb -arch-base-nodejs-0.12.9/npm -arch-base-nodejs-0.12.9/nvm -arch-base-redis/data.redis */arch-rootfs */data */env */npm */src +README.html +arch-base-mongodb/data.mongodb +arch-base-nodejs-0.12.9/npm +arch-base-nodejs-0.12.9/nvm +arch-base-redis/data.redis @@ -16,8 +16,29 @@ This is good, it can minimize size usage in local host, but it slow. This script bypass the usage of `Dockerfile` and directly create rootfs, modified it, and import it to Docker as image. +<s> Arch Linux is become bloated, I recommend to use Alpine Linux for small size and probably faster container. +</s> + +I said the above statement when I am still naive. + +Arch Linux is not bloated. +Unlike other Linux distro, Arch Linux include documentation and development +files in one package, while other distro split it into "-doc" and/or +"-devel" packages. + +DO NOT USE Alpine Linux just because you want smaller images. +Alpine Linux use Musl libc, the core library where every single program +depends on, which completely different with glibc that used by most Linux +distro where you probably develop and test your program. +And, no, Musl is +[not always](https://bell-sw.com/blog/alpaquita-linux-performance-the-race-is-on/) +[faster](https://users.rust-lang.org/t/optimizing-rust-binaries-observation-of-musl-versus-glibc-and-jemalloc-versus-system-alloc/8499) +than glibc. +If you did not know what is libc and why it will affect your program, please +do not use it for the sake of smaller images. + ## How To |
