ebner 76ebbe46d3
Some checks failed
Build and Publish Docker Image / docker (push) Failing after 2m7s
fix name
2025-03-27 10:47:29 +01:00

889 B

Overview

This is the PSI rhel8 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 gitea.psi.ch/images/rhel8-developer-github-actions

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

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

To base other images upon this image use

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

in your Dockerfile

Build

To build the image use:

docker build --platform linux/x86_64 -t gitea.psi.ch/images/rhel9-developer-github-actions .

To push the image to the central container registry do:

docker login gitea.psi.ch
docker push gitea.psi.ch/images/rhel8-developer-github-actions