<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Aug 6, 2014, at 10:50 AM, Václav Pavlín &lt;<a href="mailto:vpavlin@redhat.com">vpavlin@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br><br>On St&nbsp;6.&nbsp;srpen&nbsp;2014,&nbsp;16:43:23&nbsp;CEST, Radek Vokál wrote:<br><blockquote type="cite"><br><br>----- Original Message -----<br><blockquote type="cite"><br><br>On St 6. srpen 2014, 16:13:34 CEST, Radek Vokál wrote:<br><blockquote type="cite">Vasku, I like the idea &nbsp;and the workflow. If I understand the workflow<br>right - the layered image will build on top of base image picked in COPR<br>(eg. Fedora20 or CentOS7)? Also would it make sense to run our own docker<br>registry and have in connected to docker.io?<br></blockquote><br>My idea was to "guess" base image automatically from the<br>os-version(-arch) selected by user in COPR - so if the copr build is<br>for fedora-20-x86_64, we can say yes, it's 64bit, and use fedora:20 as<br>base image.<br><br>If we really want to build images, it would make sense to serve them in<br>private registry. On the other hand, I've changed my mind since I sent<br>this proposal - I am not sure if Fedora infrastructure can/will handle<br>building and storing possibly hundreds or thousands of images. I'd like<br>to start with a feature that will prepare and let you download a<br>Dockerfile which you can then modify locally and build your image.<br></blockquote><br>Well, not everyone will request to build an image and correct me if I'm wrong, but for updates docker only stores diffs.<br></blockquote><br>I think we should take worst case scenario in account - i.e. we end up building image for almost all packages. Second thing is we should probably consider building of images from sets of packages as it would make a lot of sense in some cases.<br><br>IMHO It stores diffs from base image (or actually from image in FROM option). One problem we would have to solve is removing unused images from registry as that's missing in current registry implementation - images (or rather diffs) just stay there forever.<br><br>Vaclav<br><br></div></blockquote><div><br></div><div>I agree, I think as a first step creating the dockerfiles is a good idea. &nbsp;Managing the potential number of images that we could end up with could become problematic. &nbsp;I think it would be a good idea to try and quantify the rough amount of capacity we would have within the Fedora Infrastructure to build images - then we would know how much wiggle room we have.</div><div><br></div><div>Cheers</div><div>Stu</div><br><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite"><br>R<br><br><blockquote type="cite"><br>I need to talk about this with Mirek and people from Fedora<br>Infrastructure probably.<br><br>Vaclav<br><br><blockquote type="cite"><br>Radek<br><br>----- Original Message -----<br><blockquote type="cite">Could you please have a look at attached diagram briefly describing<br>potential architecture of the image building service? Would this be a<br>viable solution?<br><br><br><a href="https://vpavlin.fedorapeople.org/copr-docker.svg">https://vpavlin.fedorapeople.org/copr-docker.svg</a><br><br>Vaclav<br><br>On 24.7.2014 10:42, Václav Pavlín wrote:<br><blockquote type="cite"><br><br>On St 23. červenec 2014, 13:33:06 CEST, Richard Marko wrote:<br><blockquote type="cite">On 07/23/2014 10:44 AM, Nick Coghlan wrote:<br><blockquote type="cite">On 07/23/2014 01:42 AM, Václav Pavlín wrote:<br><blockquote type="cite">What do you think? Do you think this makes sense for copr?<br></blockquote>If we could use COPR to make Beaker packages for Fedora and EPEL *and*<br>upload Dockerfiles to generate Docker images for the various<br>components,<br>that would be seriously cool. On the other hand, it might make more<br>sense as a separate service that reacts to fedmsg events indicating new<br>COPR builds are available.<br><br></blockquote><br>+1 for separate service.<br><br></blockquote><br>I am not against separate service. The separate service would probably<br>simply mean running Docker in some cloud instance and call it's API<br>through docker-python bindings and then collect the results.<br><br>Vaclav<br><br>--<br><br>Lead Infrastructure Engineer<br>Developer Experience<br>Brno, Czech Republic<br></blockquote><br>--<br><br>Lead Infrastructure Engineer<br>Developer Experience<br>Brno, Czech Republic<br><br>_______________________________________________<br>copr-devel mailing list<br>copr-devel@lists.fedorahosted.org<br>https://lists.fedorahosted.org/mailman/listinfo/copr-devel<br><br></blockquote>_______________________________________________<br>copr-devel mailing list<br><a href="mailto:copr-devel@lists.fedorahosted.org">copr-devel@lists.fedorahosted.org</a><br>https://lists.fedorahosted.org/mailman/listinfo/copr-devel<br></blockquote><br>--<br><br>Lead Infrastructure Engineer<br>Developer Experience<br>Brno, Czech Republic<br><br></blockquote></blockquote><br>--<br><br>Lead Infrastructure Engineer<br>Developer Experience<br>Brno, Czech Republic</div></blockquote></div><br></body></html>