Skip to content

Commit 8b58a08

Browse files
tjohnson31415dtrifiro
authored andcommitted
use --nodocs on microdnf installs
Signed-off-by: Travis Johnson <[email protected]>
1 parent 6ac9686 commit 8b58a08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.rocm.ubi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
5252
torch==2.7.0.dev20250308+rocm${version}\
5353
torchvision==0.22.0.dev20250308+rocm${version} && \
5454
# Install libdrm-amdgpu to avoid errors when retrieving device information (amdgpu.ids: No such file or directory)
55-
microdnf install -y libdrm-amdgpu && \
55+
microdnf install -y --nodocs libdrm-amdgpu && \
5656
microdnf clean all
5757

5858

@@ -71,7 +71,7 @@ ENV CCACHE_DIR=/root/.cache/ccache
7171
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
7272
rpm -ql epel-release && \
7373
microdnf -y update && \
74-
microdnf -y install \
74+
microdnf --nodocs -y install \
7575
ccache \
7676
git \
7777
# packages required to build vllm
@@ -163,7 +163,7 @@ RUN --mount=type=cache,target=/root/.cache/ccache \
163163
#################### libsodium Build IMAGE ####################
164164
FROM rocm_base as libsodium-builder
165165

166-
RUN microdnf install -y gcc gzip tar \
166+
RUN microdnf install -y --nodocs gcc gzip tar \
167167
&& microdnf clean all
168168

169169
WORKDIR /usr/src/libsodium

0 commit comments

Comments
 (0)