aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-12-15 15:41:40 +0700
committerShulhan <ms@kilabit.info>2024-12-15 15:41:40 +0700
commitf5ff08f1e67770fc84c807cea95b38a95e80edd4 (patch)
tree3b8aa31a83aa1e6013998af64b6107792a5f24d5
parenta03286ef9b4c02f6d9674ae2a8ab8ff6549dbaae (diff)
downloadarch-docker-main.tar.xz
README: update my remark about Alpine and Arch LinuxHEADmain
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--.gitignore9
-rw-r--r--README.md21
2 files changed, 26 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 58d8153..161777e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/README.md b/README.md
index c8cfa4a..09a6bba 100644
--- a/README.md
+++ b/README.md
@@ -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