[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [atomic-devel] docs-first RFE for stripping containers
- From: Jim Perrin <jperrin centos org>
- To: SGhosh <sghosh redhat com>, atomic-devel projectatomic io
- Subject: Re: [atomic-devel] docs-first RFE for stripping containers
- Date: Thu, 05 Feb 2015 14:49:43 -0600
On 02/05/2015 01:56 PM, SGhosh wrote:
>
>
> I don't think you want to go as far as you are suggesting.
> Having the concept of RPMs and dependecy is useful mechanism for being
> able to install apps on top of an existing image, and it is useful if
> you need to apply an emergency fix before rebuilt image can be deployed.
>
I'm viewing this more as a a final optional step in the workflow for
production and deployment, not necessarily for base images.
> Cutting down in size is a useful requirement - and getting some upstream
> help for that is needed as well. The latest RPM changes about to hit
> Fedora will include strong/weak dependencies - that can be used to
> remove some deps based on full rms nots being installed. But this is not
> a CentOS 7 item.
That sounds interesting. I wouldn't suggest this strictly as a CentOS
thing, but more as an acceptance of containers as a packaging method
itself.
> yum does have the excludedocs feature - and utilizing that can reduce
> some of the content - but not all.
We do this already, as well as some limited file abuse in the case of
glibc locales. This still leaves a fairly minimal OS container weighing
in at around 150-250MB before the actual applications get installed.
Once everything is built to satisfaction, the admin/dev could simply
strip it and deploy as a final step if needed/desired.
--
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]