Sign inSign up

masahide/docker-rpm-builder

By masahide

•Updated almost 8 years ago

rpm-builder

Image
0

817

masahide/docker-rpm-builder repository overview

⁠rpm-builder

⁠What's this

This Docker image is used to build RPM packages in Dockernized envirionment. It's based on CentOS official Docker image⁠.

⁠Usage

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

⁠Tags

  • centos6 : based on centos:6
  • centos7 : based on centos:7

Tag summary

Content type

Image

Digest

Size

132.9 MB

Last updated

almost 8 years ago

docker pull masahide/docker-rpm-builder:amzn2