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,
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
Right away there's no binary, just a couple of shell scripts, I'll add the spec in the next iteration. Thanks!
On Fri, Sep 19, 2014 at 5:42 PM, Miroslav Suchy msuchy@redhat.com wrote:
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
-- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
Now I must go, but I have submitted a build for a basic package:
http://copr.fedoraproject.org/coprs/alanfranz/docker-rpm-builder
On Fri, Sep 19, 2014 at 5:54 PM, Alan Franzoni mailing@franzoni.eu wrote:
Right away there's no binary, just a couple of shell scripts, I'll add the spec in the next iteration. Thanks!
On Fri, Sep 19, 2014 at 5:42 PM, Miroslav Suchy msuchy@redhat.com wrote:
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
-- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
-- My development blog: ollivander.franzoni.eu . @franzeur on Twitter contact me at public@[mysurname].eu
buildsys@lists.fedoraproject.org