Re: Join the new Minimization Team

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

So that might be one area to focus on — to make sure that these "from scratch" installations don't drag unnecessary stuff.


[1] https://asamalik.fedorapeople.org/container-randomness/report.html
[2] https://github.com/asamalik/container-randomness



On Tue, Jul 30, 2019 at 9:52 PM Daniel Walsh <dwalsh@xxxxxxxxxx> wrote:
If you want small images, just use buildah.

ctr=$(buildah from scratch)
mnt=$(buildah mount $ctr)
COPY/DnF/make install into $mnt
buildah config ... $ctr
buildah commit $ctr NEWIMAGE
buildah push NEWIMAGE CONTAINERREGGISTY...

If you want to build off of base images, you can probably create them with buildah also.

On 7/30/19 12:05 PM, Christian Glombek wrote:
I would be especially interested in minimizing container images.
I'd like to e.g. see purpose-built containers without an actual package manager inside. You just have the container, mount the config, and go.
We're also trying to minimize Fedora CoreOS[1], so this is definitely a topic of overall interest!


Christian Glombek

Associate Software Engineer

Red Hat GmbH

cglombek@xxxxxxxxxx


                    
Red Hat GmbH, http://www.de.redhat.com/, Sitz: Grasbrunn, 
Handelsregister: Amtsgericht München, HRB 153243,
Geschäftsführer: Charles Cachera, Michael O'Neill, Tom Savage, Eric Shander


On Tue, Jul 30, 2019 at 5:24 PM Neal Gompa <ngompa13@xxxxxxxxx> wrote:
On Tue, Jul 30, 2019 at 10:58 AM Adam Samalik <asamalik@xxxxxxxxxx> wrote:
>
> Hi everyone!
>
> I'm starting a Minimization Objective [1] focusing on minimising the installation size of some of the popular apps, runtimes, and other pieces of software in Fedora.
>
> And there is a new Minimization Team [2] forming. Members of the team will consult and work with Fedora maintainers, develop tooling and services, generate reports showing the status of the Fedora ecosystem and a comparison with other ecosystems, etc. The goal is to build an environment where it's easy for our maintainers to keep things small over time, it's not just a one-off effort. Please see the Action Plan [3] for more details.
>
> Want to become a member? Let me know!
>
> Cheers!
> Adam
>
> [1] https://docs.fedoraproject.org/en-US/minimization/
> [2] https://docs.fedoraproject.org/en-US/minimization/team/
> [3] https://docs.fedoraproject.org/en-US/minimization/action-plan/
>

I'm interested, but not just for minimization for the sake of it. We
need to be thoughtful about how we are changing the dependency tree.



--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx


--

Adam Šamalík
---------------------------
Senior Software Engineer
Red Hat
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux