RHEL9 container build/build_oai: switch to dnf

This commit is contained in:
Robert Schmidt
2023-06-05 10:55:54 +02:00
committed by Jaroslava Fiedlerova
parent a553b4c6a2
commit a834c10bd7
10 changed files with 22 additions and 22 deletions

View File

@@ -32,7 +32,7 @@ WORKDIR /oai-ran
COPY . .
#only install address and undefined behavior sanitizer for this container, the others don't need it
RUN yum install -y libasan libubsan
RUN dnf install -y libasan libubsan
#run build_oai to build the target image
RUN /bin/sh oaienv && \
@@ -43,8 +43,8 @@ RUN /bin/sh oaienv && \
#start from scratch for target executable
FROM registry.access.redhat.com/ubi9/ubi:latest as oai-physim
RUN yum update -y && \
yum install -y --enablerepo="ubi-9-codeready-builder" \
RUN dnf update -y && \
dnf install -y --enablerepo="ubi-9-codeready-builder" \
lksctp-tools \
tzdata \
atlas \