docker-rpmbuild
docker-rpmbuild copied to clipboard
Docker wrapper for rpmbuild
After a successful build, no rpm files are copied to the output directory. The documentation says that the default output dir is `.`, but no files are written to the...
``` Step 9 : CMD rpmbuild -ba /rpmbuild/SPECS/reedb.spec ---> Running in b635aea4c815 ---> f89702171758 Successfully built f89702171758 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nxLE2X + umask 022 + cd /root/rpmbuild/BUILD + gem unpack...
Register for free account at coveralls.io for opensource projects, and add a coverage badge like this: [](https://coveralls.io/r/norrs/onlinepetition?branch=master)
At the moment we expect to find it under /rpmbuild/{SOURCES,SPECS ... }. At least with the latest upstream docker centos6 image, this fails. Maybe we could supply a .rpmmacros with...
If you don't mind, I'll start on writing some documentation with sphinx on using docker-rpmbuild, with examples with both using config and overriding config values with provided command line arguments...
Incase something fails, you should be able to just enter the container commit to easier debug what is going wrong with your build.
"docker-rpmbuild" in same directory as spec to fill in all the required arguments for building the spec. Ie .spec should check for config in .docker-rpmbuild to feed docker-rpmbuild with arguments.
``` {u'status': u'Pulling repository docker.example.net:5000/centos'} {u'errorDetail': {u'message': u'Error: image centos not found'}, u'error': u'Error: image centos not found'} ``` Should throw an PackagerException if error is found.