Skip to content

z0by/docker-rpmbuild

 
 

Repository files navigation

docker-rpmbuild

Build Status

Builds RPMs inside a docker container. A Dockerfile and build context are dynamically generated to construct the RPM development environment. Then rpmbuild -ba is executed and the RPM results are extracted.

Installation

$ pip install git+https://github.com/shawnsi/docker-rpmbuild

Build from SPEC

Build a simple spec file and source archive using rpmbuild in a docker image.

$ docker-rpmbuild build --spec <path-to-spec> --source <path-to-source> <image>

Build from SRPM

Rebuild an existing SRPM package.

$ docker-rpmbuild rebuild --srpm <path-to-srpm> <image>

About

Docker wrapper for rpmbuild

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Shell 1.1%