<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr">Hello Thomas,<div>our experience with koji showed that we used very little of its functionality but we took a large performance hit from using it; hence we first started using mock and a manually built repository creation system, now we're replacing mock with this docker-rpm-builder.</div><div><br></div><div>I'll do some benchmarking for mock-vs-drb later on.</div><div><br></div><div>bye,</div></div></blockquote><div>Hi,<br></div><div>I haven't really been digging very deeply into this, but how do you make sure that you have the most up-to-date buildroot in the Docker image you use? If you're building for e.g. rawhide, you'd basically need to rebuild the image every time a package from minimal buildroot gets version/release bump. So IIUC you'd either have to rebuild the base image pretty often or you'd have to do "yum update" inside the docker image before you actually start building. At that point, I'm not really sure how much faster docker is.<br></div><div>Also, IIUC you require "yum" to be present in the docker image, which will probably draw in some dependencies that are unnecessary and may be unwanted (e.g. for Fedora builds).<br></div><div><br></div><div>Please correct me if I'm wrong.<br></div><div>Thanks,<br></div><div>Slavek.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div class="gmail_extra"><br><div><br></div><div class="gmail_quote">On Mon, Mar 17, 2014 at 2:57 AM, Thomas Guthmann <span dir="ltr">&lt;<a href="mailto:tguthmann@iseek.com.au" target="_blank">tguthmann@iseek.com.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://github.com/alanfranz/docker-rpm-builder" target="_blank">https://github.com/alanfranz/docker-rpm-builder</a><br></blockquote>
I had a thought about it but never found the time to look more into koi internals to see how we can hook it.<br><div><br></div>
It would be beneficial in time to replace mock by docker (or plain LXC) in koji. But maybe someone more experienced with mock could finger point the advantages of mock compare to containers ?<br><div><br></div>
I like koji but our devs hate the time it takes to build RPMs. I have to say half of the time is taken by mock deploying the buildroot and our builders don't have the luxury to be on SSDs ;)<br><div><br></div>
Thomas<br><div><br></div><br><div><br></div>
--<br>
buildsys mailing list<br><a href="mailto:buildsys@lists.fedoraproject.org" target="_blank">buildsys@lists.fedoraproject.org</a><br><a href="https://admin.fedoraproject.org/mailman/listinfo/buildsys" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/buildsys</a><br data-mce-bogus="1"></blockquote></div><br><br clear="all"><div><br></div>-- <br>Latest blog post: Deploying WAR on Heroku <a href="http://t.co/M4krW2Mu" target="_blank">http://t.co/M4krW2Mu</a><br>

contact me at public@[mysurname].eu
</div><br>--<br>buildsys mailing list<br>buildsys@lists.fedoraproject.org<br>https://admin.fedoraproject.org/mailman/listinfo/buildsys</blockquote><div><br><div><br></div></div><div><br></div><div>-- <br></div><div><span name="x"></span>Regards,<br>Bohuslav "Slavek" Kabrda.<span name="x"></span><br></div></div></body></html>