Docker image to support building RPMs in a cleanroom for RHEL 7.x
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

This repo is used to build a docker image that contains build support based on RHEL7.5. This is used to build RPMs by mounting an rpmbuild directory to /build inside the image.

Build the image with the command:

sudo docker image build --build-arg http_proxy="" --build-arg https_proxy="" -t rhel-rpm-build:latest .

Run the image with the command:

sudo docker run --rm -it --env http_proxy="" --env https_proxy="" --volume /path/to/rpmbuild:/build rhel-rpm-build:latest