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
ENV SMDEV_CONTAINER_OFF=1
#install developers pkg/repo
RUN rm -f /etc/rhsm-host && \
dnf repolist --disablerepo=* && \
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms && \
dnf update -y && \
dnf install -y \
......
......@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-enb
ENV TZ=Europe/Paris
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 \
tzdata \
procps-ng \
......
......@@ -41,9 +41,8 @@ RUN /bin/sh oaienv && \
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-gnb-aw2s
ENV TZ=Europe/Paris
RUN dnf repolist --disablerepo=* && \
dnf update -y && \
dnf install -y --enablerepo="ubi-9-codeready-builder" \
RUN dnf update -y && \
dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
procps-ng \
libXpm \
libX11 \
......
......@@ -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
ENV TZ=Europe/Paris
RUN dnf repolist --disablerepo=* && \
dnf update -y && \
dnf install -y --enablerepo="ubi-9-codeready-builder" \
RUN dnf update -y && \
dnf install -y --enablerepo="codeready-builder-for-rhel-9-x86_64-rpms" \
procps-ng \
libXpm \
libX11 \
......
......@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-lte-ru
ENV TZ=Europe/Paris
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 \
procps-ng \
atlas \
......
......@@ -38,7 +38,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-lte-ue
ENV TZ=Europe/Paris
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 \
procps-ng \
tzdata \
......
......@@ -37,7 +37,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest as oai-nr-ue
ENV TZ=Europe/Paris
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 \
procps-ng \
tzdata \
......
......@@ -44,7 +44,7 @@ RUN /bin/sh oaienv && \
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-physim
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 \
tzdata \
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