You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robert Kaussow 8a8d22e04c
update readme
1 week ago
overlay/usr/local/bin fix condition to check if local patch directory is present 3 months ago
.drone.yml migrate to thegeeklab namespace 1 week ago
.prettierignore add prettierignore file and exclude drone config 3 months ago
Dockerfile add ca-certificates 3 months ago
LICENSE update readme and license 7 months ago update readme 1 week ago


CentOS 7 image to build RPM packages

Build Status Docker Hub Source: Gitea License: MIT

Simple Docker image based on CentOS 7 to build RPM packages.

Environment variables


How to use

There are two wrapper scripts around the rpmbuild command you could use:

  • /usr/local/bin/rpmbuild-official: This will simply forward your command to the official binary at /usr/bin/rpmbuild
  • /usr/local/bin/rpmbuil: This is a modified wrapper to prepare the environment before calling rpmbuil

The wrapper /usr/local/bin/rpmbuil will do the following:

  • create $RPMBUILD_BASE_DIR/dist
  • create rpmbuild folder structure (BUILDRPMS|SOURCES|SPECS|SRPMS) under $RPMBUILD_BASE_DIR/dist
  • sync local patchfiles from $RPMBUILD_BASE_DIR/patch to $RPMBUILD_BASE_DIR/dist/SOURCES if the patch folder exist
  • call /bin/rpmbuil with the given parameters


This project is licensed under the MIT License - see the LICENSE file for details.