Whoop this is great!
But I wonder why the scratch build sizes have gone up this dramatically in
f31?
On Sun, Aug 4, 2019 at 10:59 AM Adam Samalik <asamalik(a)redhat.com> wrote:
On Sat, Aug 3, 2019 at 11:24 PM Clement Verna <cverna(a)fedoraproject.org>
wrote:
> On Sat, 3 Aug 2019 at 20:34, Zbigniew Jędrzejewski-Szmek
> <zbyszek(a)in.waw.pl> wrote:
> >
> > 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.
>
> Yes quite a bit has happened on the base image since F29, we have
> removed quite a few things and trimmed down the latest rawhide to
> 208MB. I am sure that can still be improved and I welcome any help on
> that :-).
>
I've regenerated it for f30 and f31:
https://asamalik.fedorapeople.org/container-randomness/report.html
I see the fedora:f31 image is 195 MB, woot!
>
> >
> > Zbyszek
> >
> >
> > _______________________________________________
> > devel mailing list -- devel(a)lists.fedoraproject.org
> > To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> > Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
>
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> _______________________________________________
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
>
--
Adam Šamalík
---------------------------
Senior Software Engineer
Red Hat
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org