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.
Bye,
--
My development blog: ollivander.franzoni.eu . @franzeur on Twitter
contact me at public(a)[mysurname].eu