From c29c9f4e0205d20b82cc3504535c1d82f050abeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Trifir=C3=B2?= Date: Wed, 25 Sep 2024 16:55:11 +0200 Subject: [PATCH] Dockerfile.rocm.ubi: move microdnf update in base stage --- Dockerfile.rocm.ubi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.rocm.ubi b/Dockerfile.rocm.ubi index 17909b97f50b2..39093f4630e5c 100644 --- a/Dockerfile.rocm.ubi +++ b/Dockerfile.rocm.ubi @@ -13,6 +13,7 @@ ENV VIRTUAL_ENV=/opt/vllm ENV PATH="$VIRTUAL_ENV/bin:$PATH" RUN --mount=type=cache,target=/root/.cache/pip \ + microdnf -y update && \ microdnf install -y --setopt=install_weak_deps=0 --nodocs \ python${PYTHON_VERSION}-devel \ python${PYTHON_VERSION}-pip \ @@ -40,8 +41,7 @@ gpgcheck=1\n\ gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key" > /etc/yum.repos.d/amdgpu.repo -RUN microdnf -y update && \ - microdnf -y install \ +RUN microdnf -y install \ rocm-hip-libraries rocm-hip-runtime \ miopen-hip && \ microdnf clean all