Just another CentOS image to build RPM packages
286
This image is intended to create RPM packages for ClearOS apps. Just for testing purposes, but it probably can help other people wishing create RPM packages without too suffering.
Mount your source folder and the folder where RPM package will be dropped. By default, they are dropped on /root/rpmbuild/RPMS folder inside container. There are also /root/rpmbuild/SRPMS.
docker run --rm \
-v '/home/fabio/Work/avantech/app-syncthing':'/app' \
-v '/home/fabio/Sync/fabio.myshared':'/root/rpmbuild/RPMS/noarch' \
montefuscolo/centos-rpmbuild \
run-rpmbuild -s /app/packaging/app-syncthing.spec -f /app
I would like to integrate it with TravisCI, so any enhancements, suggestions and tips are welcome.
Content type
Image
Digest
Size
91.1 MB
Last updated
about 8 years ago
docker pull montefuscolo/centos-rpmbuild