Skip to content

Commit

Permalink
Dockerfile.rocm.ubi: move microdnf update in base stage
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro committed Sep 25, 2024
1 parent 083f0d5 commit c29c9f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.rocm.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c29c9f4

Please sign in to comment.