Enable right repository for RHEL9 images

This commit is contained in:
Robert Schmidt
2023-06-05 11:35:23 +02:00
committed by Jaroslava Fiedlerova
parent 16685cb5c0
commit afae209d43
8 changed files with 9 additions and 12 deletions

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \