Compare commits

...

1 Commits

Author SHA1 Message Date
Jaroslava Fiedlerova
8b5fef3a48 Adjust DNF update options to all RHEL9 Dockerfiles
This modification should improve build reliability and avoid dependency
resolution failures.
2025-11-04 10:46:14 +01:00
9 changed files with 9 additions and 9 deletions

View File

@@ -41,7 +41,7 @@ ENV SMDEV_CONTAINER_OFF=1
#install developers pkg/repo
RUN rm -f /etc/rhsm-host && \
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms && \
dnf update -y && \
dnf update -y --allowerasing --skip-broken --nobest && \
cat /etc/os-release && \
dnf install -y \
#gcc needed for build_oai

View File

@@ -34,7 +34,7 @@ FROM ran-build:latest AS enb-build
FROM registry.access.redhat.com/ubi9/ubi:latest AS oai-enb
ENV TZ=Europe/Paris
RUN dnf update -y && \
RUN dnf update -y --allowerasing --skip-broken --nobest && \
dnf install -y \
lksctp-tools \
tzdata \

View File

@@ -44,7 +44,7 @@ ENV TZ=Europe/Paris
# Install EPEL for RHEL9
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
RUN dnf update -y && \
RUN dnf update -y --allowerasing --skip-broken --nobest && \
dnf install -y \
procps-ng \
libXpm \

View File

@@ -41,7 +41,7 @@ COPY ./etc-pki-entitlement /etc/pki/entitlement
RUN rm -f /etc/rhsm-host && \
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms && \
dnf update -y && \
dnf update -y --allowerasing --skip-broken --nobest && \
cat /etc/os-release && \
dnf install -y \
procps-ng \

View File

@@ -37,7 +37,7 @@ ENV TZ=Europe/Paris
# Install EPEL for RHEL9
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
RUN dnf update -y && \
RUN dnf update -y --allowerasing --skip-broken --nobest && \
dnf install -y \
procps-ng \
libXpm \

View File

@@ -34,7 +34,7 @@ FROM ran-build:latest AS ru-build
FROM registry.access.redhat.com/ubi9/ubi:latest AS oai-lte-ru
ENV TZ=Europe/Paris
RUN dnf update -y && \
RUN dnf update -y --allowerasing --skip-broken --nobest && \
dnf install -y \
tzdata \
procps-ng \

View File

@@ -34,7 +34,7 @@ FROM ran-build:latest AS lte-ue-build
FROM registry.access.redhat.com/ubi9/ubi:latest AS oai-lte-ue
ENV TZ=Europe/Paris
RUN dnf update -y && \
RUN dnf update -y --allowerasing --skip-broken --nobest && \
dnf install -y \
lksctp-tools \
procps-ng \

View File

@@ -37,7 +37,7 @@ ENV TZ=Europe/Paris
# Install EPEL for RHEL9
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
RUN dnf update -y && \
RUN dnf update -y --allowerasing --skip-broken --nobest && \
dnf install -y \
lksctp-tools \
procps-ng \

View File

@@ -48,7 +48,7 @@ RUN /bin/sh oaienv && \
#start from scratch for target executable
FROM registry.access.redhat.com/ubi9/ubi:latest AS oai-physim
RUN dnf update -y && \
RUN dnf update -y --allowerasing --skip-broken --nobest && \
dnf install -y \
lksctp-tools \
tzdata \