On Thu, Aug 01, 2019 at 10:25:55AM +0200, Adam Samalik wrote:
I've already done some experiments with that. I used multi-stage
builds
with podman, but it's the same in principle. And yes, the sizes are
smaller. What was interesting though that some additional packages (ones
that wouldn't appear in the images using the Fedora base image) has been
dragged in as dependencies. Some of them are even related to hardware. (See
the report [1] and the github repo [2].)
It'd be nice to rebase this to F30 or even F31. F29 is not interesting
anymore.
A lot of the stuff in those images seems completely unnecessary:
device-mapper, device-mapper-libs, dracut, cpio, glibc-all-langpacks,
grubby, systemd-bootchart, systemd-udev.
So that might be one area to focus on — to make sure that these
"from
scratch" installations don't drag unnecessary stuff.
Yep, that sounds like a good start. I suspect that F30 might be already
better in this regard.
Zbyszek