fix image name
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 6s
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 6s
This commit is contained in:
parent
60bf0fecf2
commit
b15e22e293
12
Readme.md
12
Readme.md
@ -7,18 +7,18 @@ This is the PSI rhel9 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/rhel9-developer
|
docker run -it --rm gitea.psi.ch/images/rhel9-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/rhel9-developer rpmbuild -ba whatever.spec
|
docker run --platform linux/amd64 -it --rm -v $(pwd):/data --workdir /data gitea.psi.ch/images/rhel9-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/rhel9-developer
|
FROM gitea.psi.ch/images/rhel9-developer
|
||||||
```
|
```
|
||||||
in your Dockerfile
|
in your Dockerfile
|
||||||
|
|
||||||
@ -26,11 +26,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/rhel9-developer .
|
docker build --platform linux/x86_64 -t gitea.psi.ch/images/rhel9-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/rhel9-developer
|
docker push gitea.psi.ch/images/rhel9-developer
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user