fix name
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 2m30s

This commit is contained in:
ebner 2025-03-27 10:46:28 +01:00
parent 62ebaea69a
commit b1c6a31983

View File

@ -7,19 +7,19 @@ This is the PSI rhel8 docker developer image. It contains most developer tools e
The image can be used as follows: The image can be used as follows:
```bash ```bash
docker run -it --rm container.psi.ch/images/rhel8-developer docker run -it --rm gitea.psi.ch/images/rhel8-developer
``` ```
To build an RPM this image can be used as follows: To build an RPM this image can be used as follows:
```bash ```bash
docker run --platform linux/amd64 -it --rm -v $(pwd):/data --workdir /data container.psi.ch/images/rhel8-developer rpmbuild -ba whatever.spec docker run --platform linux/amd64 -it --rm -v $(pwd):/data --workdir /data gitea.psi.ch/images/rhel8-developer rpmbuild -ba whatever.spec
``` ```
To base other images upon this image use To base other images upon this image use
```dockerfile ```dockerfile
FROM container.psi.ch/images/rhel8-developer FROM gitea.psi.ch/images/rhel8-developer
``` ```
in your Dockerfile in your Dockerfile
@ -27,11 +27,11 @@ in your Dockerfile
To build the image use: To build the image use:
```bash ```bash
docker build --platform linux/x86_64 -t container.psi.ch/images/rhel8-developer . docker build --platform linux/x86_64 -t gitea.psi.ch/images/rhel8-developer .
``` ```
To push the image to the central container registry do: To push the image to the central container registry do:
```bash ```bash
docker login container.psi.ch docker login gitea.psi.ch
docker push container.psi.ch/images/rhel8-developer docker push gitea.psi.ch/images/rhel8-developer
``` ```