Sign inSign up

ergomentum/rpmbuild

By ergomentum

Updated almost 9 years ago

Provides a development environment to build RPM packages.

Image
0

1.8K

ergomentum/rpmbuild repository overview

Docker Image Stars Docker Image Pulls

Ergomentum RPM build environment

Provides a development environment to build RPM packages based on the Ergomentum CentOS image.

As recommended[1] the non root user mockbuild will be used to build RPMs. The user mockbuild is allowed to use sudo without password to install additional build dependencies. Alternatively this image can be used as base image to create a specific RPM build environment with all needed dependencies.

Volumes

None.

Environment Variables

None.

Exposed Ports

None.

Usage

Use this image to create a container or use it as base image.

Run temporary container with a bash to be used interactively
docker \
  run \
  --rm \
  -ti \
  ergomentum/rpmbuild
Run temporary build container and write RPMs to the current directory of the host
docker \
  run \
  --rm \
  -ti \
  -v "${PWD}:/home/mockbuild/rpmbuild/RPMS" \
  ergomentum/rpmbuild

Contributing

To contribute a feature or a bugfix please open a pull request on GitHub.

See CONTRIBUTING for details.

License

See the LICENSE file for license rights and limitations (Apache License, Version 2.0).

References

1. https://wiki.centos.org/HowTos/RebuildSRPM

Tag summary

Content type

Image

Digest

Size

97.3 MB

Last updated

almost 9 years ago

docker pull ergomentum/rpmbuild