Docker containers for building RPM and Debian packages.
Images can be found at: https://quay.io/repository/cloudian/pkgbuilder
These are plain Docker images with some basic build tools installed (e.g. rpm-build for CentOS 7).
Suppose you have Makefile in the current working directory ($(pwd)
),
try:
$ alias rpmbuilder7='docker run -it --rm -v "$(pwd)":/home/pkg/src quay.io/cloudian/pkgbuilder:centos7'
$ rpmbuilder7 make
This command assumes that $(pwd)
is readable and writable by gid
5000.
See the top-level README.md in each branch.