Public | Automated Build

Last pushed: a year ago
Short Description
Build RPMs with mock, clean room builder for RedHat Enterprise Linxu derivative distributions.
Full Description

docker-mock-rpmbuilder


Build RPMs from rpmbuild/{SPECS,SRPMS} with mock, clean room builder for RedHat Enterprise Linxu derivative distributions.

Docker image is available as auchida/mock-rpmbuilder in Docker Hub.

Examples to build RPM packages

To rebuild packages from *.src.rpms under the /path/to/rpmbuild/SRPMS/ for epel-6-x86_64 environment.

$ docker run -e MOCK_CONFIG=epel-6-x86_64 -e MOCK_TARGET=SRPMS -v /path/to/rpmbuild:/rpmbuild --privileged=true -i auchida/mock-rpmbuilder

To build packages from *.spec under the /path/to/rpmbuild/SPECS/ for epel-6-x86_64 environment.

$ docker run -e MOCK_CONFIG=epel-6-x86_64 -e MOCK_TARGET=SPECS -v /path/to/rpmbuild:/rpmbuild --privileged=true -i auchida/mock-rpmbuilder

License

Dockerfile and build scripts is dedicated to .
No rights reserved.

License for distributed Docker images follows one of Fedora Project and installed packages.

Docker Pull Command
Owner
auchida
Source Repository

Comments (0)