This Docker image is used to build RPM packages in Dockernized envirionment. It's based on CentOS official Docker image.
Use docker run ... instead of rpmbuild command.
Following example will work as rpmbuild -bb ./SPEC.spec and the artifact will be placed to ./rpmbuild/RPMS/.
$ docker run --rm -v "$(PWD)":/workspace -v "$(PWD)/rpmbuild":/rpmbuild masahide:docker-rpm-builder -bb SPEC.spec
centos6 : based on centos:6centos7 : based on centos:7Content type
Image
Digest
Size
132.9 MB
Last updated
almost 8 years ago
docker pull masahide/docker-rpm-builder:amzn2