Public | Automated Build

Last pushed: a year ago
Short Description
Provides a development environment to build RPM packages.
Full Description


Ergomentum RPM build environment

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

As recommended<sup>[1]</sup> 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

<a id="donotuseroot">1</a>.
https://wiki.centos.org/HowTos/RebuildSRPM

Docker Pull Command
Owner
ergomentum
Source Repository

Comments (0)