2025-01-21 12:02:08 +01:00

853 B

Overview

This is the PSI rhel9 docker developer image. It contains most developer tools especially for building rpms, etc.

Usage

The image can be used as follows:

docker run -it --rm container.psi.ch/images/rhel9-developer

To build an RPM this image can be used as follows:

docker run --platform linux/amd64 -it --rm -v $(pwd):/data --workdir /data  container.psi.ch/images/rhel9-developer rpmbuild -ba whatever.spec

To base other images upon this image use

FROM container.psi.ch/images/rhel9-developer

in your Dockerfile

Build

To build the image use:

docker build --platform linux/x86_64 -t container.psi.ch/images/rhel9-developer .

To push the image to the central container registry do:

docker login container.psi.ch
docker push container.psi.ch/images/rhel9-developer