From 9a6876e60b7394a1c2de73c57c5a8813bbe3e240 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Mon, 10 Jul 2023 13:13:22 +0200 Subject: [PATCH] Do no use dnf-shell (not in dnf5) --- Fedora-rawhide/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Fedora-rawhide/Dockerfile b/Fedora-rawhide/Dockerfile index 89c011a..e29669d 100644 --- a/Fedora-rawhide/Dockerfile +++ b/Fedora-rawhide/Dockerfile @@ -2,7 +2,8 @@ FROM fedora:rawhide ARG dockerfile_url ENV DOCKERFILE_URL=$dockerfile_url -RUN echo "install make cmake gcc-c++ \ +RUN dnf -y upgrade && \ + dnf -y install make cmake gcc-c++ \ util-linux \ gmp-devel.x86_64 mpfr-devel.x86_64 \ boost-devel.x86_64 \ @@ -21,10 +22,7 @@ RUN echo "install make cmake gcc-c++ \ zlib-devel.x86_64 \ diffutils \ wget \ - tar" >> dnf-cmd && \ - echo update >> dnf-cmd && \ - echo run >> dnf-cmd && \ - dnf -y --refresh shell dnf-cmd && rm dnf-cmd && \ + tar && \ dnf clean all && \ wget https://registrationcenter-download.intel.com/akdlm/irc_nas/19143/l_tbb_oneapi_p_2021.8.0.25334_offline.sh && \ bash l_tbb_oneapi_p_2021.8.0.25334_offline.sh -a --action install --eula accept -s && \