Hello, I had given a shot to this project some months ago; after a bit of refactoring, it's now usable.
(to the Fedora/Redhat people: if you feel I'm hijacking this ml with my announcements, just let me know; since it's a low-traffic ml and highly relevant to the topic, I thought it the best place where to place such announcements)
https://github.com/alanfranz/docker-rpm-builder
RPM packages for Centos/RHEL and Fedora are available now.
Key features:
- fast RPM building without chroot unpacking/file copy/etc - templating support for specfiles - interactive mode when a build fails - build straight from a directory without an intermediate source RPM (optional: you can still rebuild a .src.rpm) - works on any host Linux distro that supports docker and has Python 2.7 - leverages existing RPM toolchain, you don't need to learn a new language - root filesystem is fully writeable during the build
If anybody happens to try it, let me know what you think about it. I'll be doing a few benchmarks in the next weeks.
Bye!
On Fri, Feb 6, 2015, at 12:24 PM, Alan Franzoni wrote:
Hello, I had given a shot to this project some months ago; after a bit of refactoring, it's now usable.
(to the Fedora/Redhat people: if you feel I'm hijacking this ml with my announcements, just let me know; since it's a low-traffic ml and highly relevant to the topic, I thought it the best place where to place such announcements)
Not at all - that's a very interesting project. Would you be interested in potentially bringing it under the Project Atomic umbrella?
We're a cross-(Fedora/CentOS and downstreams) distribution focused on containerizing via Docker, and using RPM (as well as rpm-ostree and Kubernetes):
The github organization is here: https://github.com/projectatomic/
BTW,
- root filesystem is fully writeable during the build
I wouldn't really say that's a feature...
On 02/06/2015 12:24 PM, Alan Franzoni wrote:
Hello, I had given a shot to this project some months ago; after a bit of refactoring, it's now usable.
(to the Fedora/Redhat people: if you feel I'm hijacking this ml with my announcements, just let me know; since it's a low-traffic ml and highly relevant to the topic, I thought it the best place where to place such announcements)
No problem from my perspective. It's interesting to hear about.
https://github.com/alanfranz/docker-rpm-builder
RPM packages for Centos/RHEL and Fedora are available now.
I'd love to use containers in Koji, but I think docker is still effectively x86-only (which is a shame, since I think the underlying kernel features are not). Plus there are a number of docker-isms that might make integration... tricky.
Also, a typical koji instance generates different chroot environments all the time, so I'm not sure how much IO we'd be able to save.
In any case, it's good to see work on this.
Key features:
- fast RPM building without chroot unpacking/file copy/etc
- templating support for specfiles
- interactive mode when a build fails
- build straight from a directory without an intermediate source RPM
(optional: you can still rebuild a .src.rpm)
- works on any host Linux distro that supports docker and has Python 2.7
- leverages existing RPM toolchain, you don't need to learn a new language
- root filesystem is fully writeable during the build
If anybody happens to try it, let me know what you think about it. I'll be doing a few benchmarks in the next weeks.
Bye!
buildsys@lists.fedoraproject.org