News for hackers. Stuff that matters.
Re:Minideb – A small image based on Debian designed for use ... by zwerdlds on Tuesday September 19, 2017 @12:58PM (#15286414)
for anyone else interested in the actual stats, I grifted this from their pr on the image:

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.

Re:Minideb – A small image based on Debian designed for use ... by zorbash on Tuesday September 19, 2017 @01:37PM (#15286805)
Current debian:stable-slim is 55.3MB and is already optimized for containers (see: https://gist.github.com/Zorbash/183b80d37bd0a09434e3a2b1a958...).
Re:Minideb – A small image based on Debian designed for use ... by wiremine on Tuesday September 19, 2017 @01:52PM (#15286987)
Good data point!

Anybody have experience with minideb vs. debian:stable-slim? Any pros/cons to either approach?

Re:Minideb – A small image based on Debian designed for use ... by chipironcin on Tuesday September 19, 2017 @02:32PM (#15287473)
I can list some pros (comparing to debian:stable-slim) for Minideb: It is easy to build, has good documentation, has no blobs committed in the repo, is automatically built and tested on a daily basis.

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

Re:Minideb – A small image based on Debian designed for use ... by ridruejo on Tuesday September 19, 2017 @01:03PM (#15286462)
Once you do anything interesting (i.e. install Python) then Alpine and minideb size are basically identical
Re:Minideb – A small image based on Debian designed for use ... by pebers on Tuesday September 19, 2017 @01:18PM (#15286592)
I guess it's a bit more specific than you meant it, but our standard Python image is ~20MB (alpine + python3, basically); that's still under half of minideb.

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.

Re:Minideb – A small image based on Debian designed for use ... by ridruejo on Tuesday September 19, 2017 @01:21PM (#15286629)
Thanks, this is where I got the data from:

https://dzone.com/articles/minideb-a-minimalist-debian-based...

Re:Minideb – A small image based on Debian designed for use ... by pebers on Tuesday September 19, 2017 @04:05PM (#15288324)
From looking at what I think is the Dockerfile for that image (https://github.com/docker-library/python/blob/b1512ead24c6b1...), that image is complex; it's downloading & building Python in it and adding & removing a dev toolchain, in a few different layers.

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).

Re:Minideb – A small image based on Debian designed for use ... by raesene6 on Tuesday September 19, 2017 @01:19PM (#15286612)
Yep. I like alpine and use it for my images for preference, but some things like getting Ruby on Rails working with therubyracer can bascially hit a wall in alpine, so this could be pretty handy.
Re:Minideb – A small image based on Debian designed for use ... by SjuulJanssen on Wednesday September 20, 2017 @01:50AM (#15291134)
In my experience python in alpine is is sometimes 2x slower. How does ruby perform under Alpine?
Re:Minideb – A small image based on Debian designed for use ... by c2h5oh on Tuesday September 19, 2017 @01:22PM (#15286648)
On the other hand if you don't need Python because it's a container running a service like Redis or Nginx you can keep entire Alpine-based image around 25-50% of the size or bare minideb image.
Re:Minideb – A small image based on Debian designed for use ... by ComputerGuru on Tuesday September 19, 2017 @02:48PM (#15287642)
I know old school native code is looked down upon these days, but there are people that write code without bloated runtime dependencies.

You don’t need to add python “to do anything interesting.”

Re:Minideb – A small image based on Debian designed for use ... by TheDong on Wednesday September 20, 2017 @01:01AM (#15290969)
Your numbers are wrong. Here's the actual values for each of those images uncompressed:

    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.

Re:Minideb – A small image based on Debian designed for use ... by zwerdlds on Tuesday October 03, 2017 @11:29AM (#15393044)
Sorry, not my numbers - as noted in the comment, I took them from the press release.
Re:Minideb – A small image based on Debian designed for use ... by 0x006A on Wednesday September 20, 2017 @03:54AM (#15291600)
debian:stable-slim 56M
Re:Minideb – A small image based on Debian designed for use ... by smegel on Tuesday September 19, 2017 @02:50PM (#15287663)
BusyBox image between 1-5mb.