The minideb image currently weighs in at around 50MB uncompressed. For comparison the debian library image is 123MB, the alpine image is 5MB, and the newly released amazonlinuximage is 328MB.
The minideb image currently weighs in at around 50MB uncompressed. For comparison the debian library image is 123MB, the alpine image is 5MB, and the newly released amazonlinuximage is 328MB.
Anybody have experience with minideb vs. debian:stable-slim? Any pros/cons to either approach?
Worth also mentioning it is the base image for ALL the Bitnami Containers that at the same time are also automatically built, updated and tested. You can take a look at all of them in Github. There are a ton of them
Does look interesting for things that need glibc compatibility though. There are some packages to help with that in Alpine but they only go so far.
https://dzone.com/articles/minideb-a-minimalist-debian-based...
I'm not surprised that I got something a lot smaller from just running `apk add python3.6`, although as a result they are not comparing apples to apples; their minideb example does pretty much exactly the equivalent (i.e. downloading the distro-provided package, not compiling it within their image).
You don’t need to add python “to do anything interesting.”
debian 101M
alpine 4.1M
amazonlinux 160M
These were determined with the following: for image in debian:latest alpine:latest amazonlinux:latest; do
docker pull $image
size=$(docker save $image | wc -c)
echo "\n$image is $(echo $size | numfmt --to=iec)\n"
done
Please note that it's important to only do this test with either a completely clean image store OR to save an exact sha256 image digest tag.If you try to do a `docker save` on a store where you have multiple copies of an image, it's easy to mess up and save old layers too. I suspect that's what happened with your amazonlinux test above.