gentoo-docker-images
gentoo-docker-images copied to clipboard
Reduce size of images by shipping a slim image without "unneeded" files
$ docker run --rm -it gentoo/stage3 du -sh /
1.2G /
It should be possible to slim this up a bit.
36M /usr/share/doc
3.2M /usr/share/gtk-doc
3.7M /usr/share/info
65M /usr/share/man
71M /usr/share/locale
We could use INSTALL_MASK for this when creating the initial image, let's call it ":slim" for now, then restore it in a second layer and create a new image for the exceptional case where someone actually wants this info in a docker container.