Build RHEL9 images on Openshift Cluster

- update of existing Dockerfiles for building RHEL8 images to RHEL9
This commit is contained in:
Jaroslava Fiedlerova
2023-06-05 17:49:06 +02:00
parent c81ed57a93
commit 296bddb904
22 changed files with 131 additions and 129 deletions
+5 -5
View File
@@ -34,7 +34,7 @@ For all platforms, the strategy for building docker/podman images is the same:
* Then from the `ran-build` shared image, we can build target images for:
- eNB
- gNB (with UHD)
- gNB (with AW2S), only on RHEL8
- gNB (with AW2S), only on RHEL9
- lte-UE
- nr-UE
@@ -75,7 +75,7 @@ Targets can be:
The currently-supported OS are:
- `rhel8.2` for Red Hat Entreprise Linux (including images for an OpenShift cluster)
- `rhel9` for Red Hat Entreprise Linux (including images for an OpenShift cluster)
- `ubuntu20` for Ubuntu 20.04 LTS
- `rocky` for Rocky-Linux 8.7
@@ -145,9 +145,9 @@ Note that the steps are identical for `rocky-linux`.
Analogous to the above steps:
```
sudo podman build --target ran-base --tag ran-base:latest --file docker/Dockerfile.base.rhel8.2 .
sudo podman build --target ran-build --tag ran-build:latest --file docker/Dockerfile.build.rhel8.2 .
sudo podman build --target oai-enb --tag oai-enb:latest --file docker/Dockerfile.eNB.rhel8.2 .
sudo podman build --target ran-base --tag ran-base:latest --file docker/Dockerfile.base.rhel9 .
sudo podman build --target ran-build --tag ran-build:latest --file docker/Dockerfile.build.rhel9 .
sudo podman build --target oai-enb --tag oai-enb:latest --file docker/Dockerfile.eNB.rhel9 .
```
# 5. Running modems using `docker` under Ubuntu 18.04 #