Commit afae209d authored by Robert Schmidt's avatar Robert Schmidt Committed by Jaroslava Fiedlerova

Enable right repository for RHEL9 images

parent 16685cb5
...@@ -42,7 +42,6 @@ COPY ./rhsm-ca /etc/rhsm/ca ...@@ -42,7 +42,6 @@ COPY ./rhsm-ca /etc/rhsm/ca
ENV SMDEV_CONTAINER_OFF=1 ENV SMDEV_CONTAINER_OFF=1
#install developers pkg/repo #install developers pkg/repo
RUN rm -f /etc/rhsm-host && \ RUN rm -f /etc/rhsm-host && \
dnf repolist --disablerepo=* && \
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms && \ subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms && \
dnf update -y && \ dnf update -y && \
dnf install -y \ dnf install -y \
......
...@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-enb ...@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-enb
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN dnf update -y && \ RUN dnf update -y && \
dnf install -y --enablerepo="ubi-9-codeready-builder" \ dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
lksctp-tools \ lksctp-tools \
tzdata \ tzdata \
procps-ng \ procps-ng \
......
...@@ -41,9 +41,8 @@ RUN /bin/sh oaienv && \ ...@@ -41,9 +41,8 @@ RUN /bin/sh oaienv && \
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb-aw2s FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb-aw2s
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN dnf repolist --disablerepo=* && \ RUN dnf update -y && \
dnf update -y && \ dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
dnf install -y --enablerepo="ubi-9-codeready-builder" \
procps-ng \ procps-ng \
libXpm \ libXpm \
libX11 \ libX11 \
......
...@@ -36,9 +36,8 @@ RUN python3 ./docker/scripts/generateTemplate.py ./docker/scripts/gnb_parameters ...@@ -36,9 +36,8 @@ RUN python3 ./docker/scripts/generateTemplate.py ./docker/scripts/gnb_parameters
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN dnf repolist --disablerepo=* && \ RUN dnf update -y && \
dnf update -y && \ dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
dnf install -y --enablerepo="ubi-9-codeready-builder" \
procps-ng \ procps-ng \
libXpm \ libXpm \
libX11 \ libX11 \
......
...@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-lte-ru ...@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-lte-ru
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN dnf update -y && \ RUN dnf update -y && \
dnf install -y --enablerepo="ubi-9-codeready-builder" \ dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
tzdata \ tzdata \
procps-ng \ procps-ng \
atlas \ atlas \
......
...@@ -38,7 +38,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-lte-ue ...@@ -38,7 +38,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-lte-ue
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN dnf update -y && \ RUN dnf update -y && \
dnf install -y --enablerepo="ubi-9-codeready-builder" \ dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
lksctp-tools \ lksctp-tools \
procps-ng \ procps-ng \
tzdata \ tzdata \
......
...@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-nr-ue ...@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-nr-ue
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN dnf update -y && \ RUN dnf update -y && \
dnf install -y --enablerepo="ubi-9-codeready-builder" \ dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
lksctp-tools \ lksctp-tools \
procps-ng \ procps-ng \
tzdata \ tzdata \
......
...@@ -44,7 +44,7 @@ RUN /bin/sh oaienv && \ ...@@ -44,7 +44,7 @@ RUN /bin/sh oaienv && \
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-physim FROM registry.access.redhat.com/ubi9/ubi:latest as oai-physim
RUN dnf update -y && \ RUN dnf update -y && \
dnf install -y --enablerepo="ubi-9-codeready-builder" \ dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
lksctp-tools \ lksctp-tools \
tzdata \ tzdata \
atlas \ atlas \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment