On 09/19/2014 04:11 PM, Alan Franzoni wrote:
Hello,
after the proof of concept I posted about some months ago I elaborated
a little on the topic.
Pre-release version 0.9 can be found here:
https://github.com/alanfranz/docker-rpm-builder/archive/0.9.tar.gz
What does it do?
It uses docker to build a native rpm from a source directory holding a
.spec and source/patch files; it's VERY useful in CI environments,
wherever you need to build an RPM as your final product.
At the moment is still a bit rough, but it's very small and it should
be very easy to make it fit to anyone's needs.
Advantages over plain mock:
- work on any host distribution as long as it supports docker;
- doesn't require the creation of a source rpm before building a binary
- as far as I have been testing, it's much faster.
If anybody tries it and thinks it's worth contributing, contact me
and/or open tickets or pull request on github.
I will definitely try it. BTW can you provide us with binary rpm packages?
Feel free to use
copr.fedoraproject.org
You upload src.rpm and it will build it and host yum repo for you.
Mirek