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

Re: [atomic-devel] Smaller fedora & centos images



On Wed, Jun 15, 2016, at 08:23 PM, Tim St. Clair wrote:
Can we finally address this image size issue? 
 
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/kubernetes-dev/zGMa4QkC_QE/gR43SztlBwAJ
 
I've sent emails about it in the past, and adoption is moving fast.
 
There has been recent work on this:
https://lists.projectatomic.io/projectatomic-archives/atomic-devel/2016-February/msg00033.html
 
Basically it relies on RPM weakdeps.  At this point, I'm not entirely sure we can just take systemd and for that matter coreutils, etc. out of the base image at least in a released stream.
 
It does seem viable to create a `centosmin` image that in some cases uses different package builds (e.g. ensuring rpm doesn't pullrelatively close in being min-coreutils + bash + yum.  Some postprocessing on the depchain such as deleting `.py{,c}` files etc. would help.
 
It looks like in CentOS 7 it's actually viable to create a container with just `yum`, but in Fedora 23 at least `dnf` ends up pulling in a whole lot of stuff including `systemd` which does get messy to address in a single-source base without weakdeps.
 
 

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