[CentOS-devel] Request for feedback: CentOS-Atomic container

Fri May 19 10:05:38 UTC 2017
Baptiste Agasse <baptiste.agasse at lyra-network.com>

Hi all, 

Just a little update on this topic. We are testing centos-atomic as base image for some weeks now (around from my last mail on this thread) with no problems. Most of our tests usage are actually to encapsulate build tools for CI purposes (rpmbuild tools, some SCL based versions of ruby or other languages, java...). Following these encouraging results, we will migrate more long living tests containers usecases to this new base image. 

If someone have any update on this topic, I will be happy to heard about it :) 

Have a nice day. 

Regards. 


----- Le 28 Mar 17, à 8:37, Mohammed Ahmed <moahmed at redhat.com> a écrit : 





On Mon, Mar 27, 2017 at 9:58 PM, Baptiste Agasse < baptiste.agasse at lyra-network.com > wrote: 

BQ_BEGIN
Hi, 

----- Le 20 Mar 17, à 19:34, Karanbir Singh mail-lists at karan.org a écrit : 

> hi 
> 
> Alpha2: registry.centos.org/kbsingh/centos-atomic:7-alpha2 
> 
> The CentOS Atomic Container is a minimal ( 30MB on disk ) image that can 
> be used to host static content, and small footprint content that does 
> not need the entire CentOS Linux Base image. This is also not meant to 
> replace CentOS Linux Base image as the default, we want to make it 
> available as an additional container base for apps that find it useful. 
> 
> The main highlight is that it does not contain yum, but has microdnf. 
> 
> I am looking for feedback, and some wider testing as well as 
> recommendations on howto further reduce size, before we move to 
> release. You can consume this as : 

This is very nice to see this :) 



I am definitely interested in this feedback as well considering my hand in bringing down to 87 mb :) 

BQ_BEGIN

Maybe we can align the content of /usr/share/i18n/locale with the localedef --list-archive output: 

centos-atomic:7-alpha2 image (unmodified): 
bash-4.2# du -sh /usr/share/i18n/locales/ 
6.3M /usr/share/i18n/locales/ 

bash-4.2# rm -f $(find /usr/share/i18n/locales/ -type f -print0 | grep -Fxvz -f <(localedef --list-archive | cut -d '.' -f1) | xargs -0) 
bash-4.2# du -sh /usr/share/i18n/locales/ 
12K /usr/share/i18n/locales/ 

These files are provided by the glibc-common package so any update of this one will restore these files. This problem seems to be solved by https://bugzilla.redhat.com/show_bug.cgi?id=1238406 (Glibc locale subpackaging) which is not on EL7. 

After squashing layers, we have this: 
registry.centos.org/kbsingh/centos-atomic 7-alpha2 d9a1bafb8e8f 9 days ago 87.18 MB 
registry.centos.org/kbsingh/centos-atomic 7-alpha3 466a18a77e90 11 seconds ago 81.41 MB 

Have a nice day. 

Regards. 

> 
> docker run -t -i \ 
> registry.centos.org/kbsingh/centos-atomic:7-alpha2 \ 
> /bin/bash 
> 
> regards 
> 
> -- 
> Karanbir Singh 
> +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh 
> GnuPG Key : http://www.karan.org/publickey.asc 
> _______________________________________________ 
> CentOS-devel mailing list 
> CentOS-devel at centos.org 
> https://lists.centos.org/mailman/listinfo/centos-devel 

-- 
Baptiste AGASSE 
_______________________________________________ 
CentOS-devel mailing list 
CentOS-devel at centos.org 
https://lists.centos.org/mailman/listinfo/centos-devel 

BQ_END




-- 
Mohammed Zeeshan Ahmed 
Associate Software Engineer, Redhat Developers Team (Devtools) 
http://mohammedzee1000.wordpress.com https://mojo.redhat.com/people/moahmed 



RED HAT | DIFFERENT FOR THE SAKE OF BETTER TECHNOLOGY 

Find out why every airline, telecom, commercial bank, healthcare, and financial data services company in the Fortune 500 relies on Red Hat. 

Trusted | Red Hat 


_______________________________________________ 
CentOS-devel mailing list 
CentOS-devel at centos.org 
https://lists.centos.org/mailman/listinfo/centos-devel 

BQ_END


-- 
Baptiste AGASSE 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20170519/fd96af61/attachment-0007.html>