@@ -9,7 +9,7 @@ ARG vllm_fa_cmake_gpu_arches='80-real;90-real'
9
9
FROM registry.access.redhat.com/ubi9/ubi-minimal:${BASE_UBI_IMAGE_TAG} as base
10
10
ARG PYTHON_VERSION
11
11
ENV PYTHON_VERSION=${PYTHON_VERSION}
12
- RUN microdnf -y update && microdnf install -y \
12
+ RUN microdnf -y update && microdnf install --nodocs - y \
13
13
python${PYTHON_VERSION}-pip python${PYTHON_VERSION}-wheel \
14
14
&& microdnf clean all
15
15
@@ -19,7 +19,7 @@ ENV LANG=C.UTF-8 \
19
19
LC_ALL=C.UTF-8
20
20
21
21
# Some utils for dev purposes - tar required for kubectl cp
22
- RUN microdnf install -y \
22
+ RUN microdnf install --nodocs - y \
23
23
which procps findutils tar vim git\
24
24
&& microdnf clean all
25
25
@@ -31,7 +31,7 @@ ARG PYTHON_VERSION
31
31
ENV VIRTUAL_ENV=/opt/vllm
32
32
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
33
33
ENV PYTHON_VERSION=${PYTHON_VERSION}
34
- RUN microdnf install -y \
34
+ RUN microdnf install --nodocs - y \
35
35
python${PYTHON_VERSION}-devel && \
36
36
python${PYTHON_VERSION} -m venv $VIRTUAL_ENV && pip install --no-cache -U pip wheel uv && microdnf clean all
37
37
@@ -45,7 +45,7 @@ RUN curl -Lo /etc/yum.repos.d/cuda-rhel9.repo \
45
45
ENV CUDA_HOME="/usr/local/cuda" \
46
46
PATH="${CUDA_HOME}/bin:${PATH}"
47
47
ENV LD_LIBRARY_PATH="${CUDA_HOME}/lib64:${CUDA_HOME}/lib64/stubs/:${CUDA_HOME}/extras/CUPTI/lib64:${LD_LIBRARY_PATH}"
48
- RUN microdnf install -y \
48
+ RUN microdnf install --nodocs - y \
49
49
cuda-nvcc-12-4 cuda-nvtx-12-4 cuda-libraries-devel-12-4 && \
50
50
microdnf clean all && \
51
51
ln -s ${CUDA_HOME}/lib64/stubs/libcuda.so /usr/lib64/
@@ -93,7 +93,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
93
93
94
94
# install compiler cache to speed up compilation leveraging local or remote caching
95
95
# git is required for the cutlass kernels
96
- RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && rpm -ql epel-release && microdnf install -y git ccache && microdnf clean all
96
+ RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && rpm -ql epel-release && microdnf install --nodocs - y git ccache && microdnf clean all
97
97
98
98
COPY . .
99
99
@@ -127,7 +127,7 @@ RUN --mount=type=cache,target=/root/.cache/ccache \
127
127
#################### libsodium Build IMAGE ####################
128
128
FROM base as libsodium-builder
129
129
130
- RUN microdnf install -y gcc gzip \
130
+ RUN microdnf install --nodocs - y gcc gzip \
131
131
&& microdnf clean all
132
132
133
133
WORKDIR /usr/src/libsodium
@@ -156,7 +156,7 @@ ENV LD_LIBRARY_PATH="${VIRTUAL_ENV}/lib/python${PYTHON_VERSION}/site-packages/nv
156
156
ENV LD_LIBRARY_PATH="${VIRTUAL_ENV}/lib/python${PYTHON_VERSION}/site-packages/nvidia/nvtx/lib:${LD_LIBRARY_PATH}"
157
157
158
158
# Triton needs a CC compiler
159
- RUN microdnf install -y gcc \
159
+ RUN microdnf install --nodocs - y gcc \
160
160
rsync \
161
161
&& microdnf clean all
162
162
0 commit comments