<div dir="ltr">I've volunteered to help maintain official CentOS Docker (<a href="https://www.docker.io/">https://www.docker.io/</a>) images, and Karanbir suggested I email the list to "thrash out what we need at the infra end to achieve these images."<div>
<br></div><div>Currently, there are 'centos' images available in the top-level Docker registry namespace, but these are maintained by dotcloud.  I think we can do better. :)<div><br></div><div>As I see it, there are two ways we can do this:</div>
<div><br></div><div>1.  Use ami-creator (<a href="https://github.com/katzj/ami-creator">https://github.com/katzj/ami-creator</a>), or something derived from it, to build Docker images from a kickstart file.  This is how CentOS AMIs are currently built.</div>
<div><br></div><div>Pros: Consistent with how AMIs are usually built; Kickstart is a known entity.<br><div><br></div><div>Cons: ami-creator won't actually work for us as-is; requires a full kickstart config.</div><div>
<br></div><div>2.  Use the mkimage-yum.sh script from Docker (<a href="https://github.com/dotcloud/docker/blob/master/contrib/mkimage-yum.sh">https://github.com/dotcloud/docker/blob/master/contrib/mkimage-yum.sh</a>), customized as necessary to produce a minimal base image.</div>
<div><br></div><div>Pros: Consistent with how Docker images are usually built; we can contribute changes to mkimage-yum.sh upstream to help other Yum-based distros; only requires a yum config.</div><div><br></div><div>Cons: Requires changing a shell script to make changes to the base image, not just a Kickstart.</div>
<div><br></div><div>Unfortunately, Docker Trusted Build (<a href="http://blog.docker.io/2013/11/introducing-trusted-builds/">http://blog.docker.io/2013/11/introducing-trusted-builds/</a>) can't be used for base images, AFAICT.</div>
<div><br></div><div>In either case, we'll need a git repo to hold the code and configs used to build the images.  If we follow the example of the official CentOS AMIs (<a href="http://wiki.centos.org/Cloud/AWS">http://wiki.centos.org/Cloud/AWS</a>), it should be sufficient to provide a reasonably up-to-date base image ("latest" or "nightly" or similar), and a few recent dot releases.  Of course, once CentOS 7 is released we'll need to do that for both 6 and 7, but that shouldn't be difficult if we do this right.</div>
<div><div><br></div><div>Thoughts on process and/or infrastructure?</div><div><br></div>-- <br>Chris St. Pierre
</div></div></div></div>