|
2 weeks ago | |
---|---|---|
overlay/usr/local/bin | 8 months ago | |
.drone.yml | 1 month ago | |
.gitignore | 2 weeks ago | |
.markdownlint.yml | 4 months ago | |
.prettierignore | 4 months ago | |
Dockerfile | 2 months ago | |
LICENSE | 2 weeks ago | |
README.md | 2 months ago |
CentOS 7 image to build RPM packages
Simple Docker image based on CentOS 7 to build RPM packages.
RPMBUILD_BASE_DIR=/drone/src
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 rpmbuilThe wrapper /usr/local/bin/rpmbuil
will do the following:
$RPMBUILD_BASE_DIR/dist
BUILDRPMS|SOURCES|SPECS|SRPMS
) under $RPMBUILD_BASE_DIR/dist
$RPMBUILD_BASE_DIR/patch
to $RPMBUILD_BASE_DIR/dist/SOURCES
if the patch
folder exist/bin/rpmbuil
with the given parametersThis project is licensed under the MIT License - see the LICENSE file for details.