add rpmbuild example
This commit is contained in:
parent
0e1ff4ff79
commit
859aa114a3
@ -10,6 +10,12 @@ 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:
|
||||
```bash
|
||||
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
|
||||
```dockerfile
|
||||
FROM container.psi.ch/images/rhel9-developer
|
||||
|
Loading…
x
Reference in New Issue
Block a user