This commit is contained in:
parent
9730392a4a
commit
76ebbe46d3
@ -1,4 +1,4 @@
|
||||
FROM container.psi.ch/images/rhel8
|
||||
FROM gitea.psi.ch/images/rhel8
|
||||
|
||||
# RUN dnf -y upgrade
|
||||
RUN dnf -y group install "Development Tools"
|
||||
|
@ -12,13 +12,13 @@ docker run -it --rm gitea.psi.ch/images/rhel8-developer-github-actions
|
||||
|
||||
To build an RPM this image can be used as follows:
|
||||
```bash
|
||||
docker run --platform linux/amd64 -it --rm -v $(pwd):/data --workdir /data container.psi.ch/images/rhel8-developer-github-actions rpmbuild -ba whatever.spec
|
||||
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
|
||||
```dockerfile
|
||||
FROM container.psi.ch/images/rhel9-developer
|
||||
FROM gitea.psi.ch/images/rhel9-developer
|
||||
```
|
||||
in your Dockerfile
|
||||
|
||||
@ -26,7 +26,7 @@ in your Dockerfile
|
||||
|
||||
To build the image use:
|
||||
```bash
|
||||
docker build --platform linux/x86_64 -t container.psi.ch/images/rhel9-developer-github-actions .
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user