HUB
Sign inSign up
centos-rpmbuild logo

montefuscolo/centos-rpmbuild

By montefuscolo

•Updated about 8 years ago

Just another CentOS image to build RPM packages

Image
0

350

montefuscolo/centos-rpmbuild repository overview

⁠RPM builder

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.

⁠Basic usage

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

⁠Help

I would like to integrate it with TravisCI, so any enhancements, suggestions and tips are welcome.

Tag summary
Recent tags
Content type
Image
Digest
Size
91.1 MB
Last updated
about 8 years ago
docker pull montefuscolo/centos-rpmbuild:latest