File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ RUN git clone https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd
101101RUN pip install "setuptools>=78.1.1"
102102RUN pip install "urllib3>=2.5.0" "requests>=2.32.4" "starlette>=0.49.1" "aiohttp>=3.12.14"
103103RUN pip install "h11>=0.16.0" "pillow>=11.3.0"
104+ RUN pip install --upgrade "cbor2" "filelock" "urllib3"
104105RUN pip uninstall -y ray && pip install --upgrade pip
105106
106107# Use Bash with `-o pipefail` so we can leverage Bash-specific features (like `[[ … ]]` for glob tests)
@@ -156,6 +157,9 @@ RUN dnf update -y \
156157 && dnf install -y --allowerasing sqlite-libs expat shadow-utils \
157158 && dnf clean all && rm -rf /var/cache/dnf
158159
160+ # CVE fixes
161+ RUN dnf update -y python3.x86_64 python3-libs.x86_64 binutils.x86_64 binutils-gold.x86_64 tar \
162+ && dnf clean all && rm -rf /var/cache/dnf
159163
160164ARG VENV_PATH
161165# Activate virtual env by setting VIRTUAL_ENV
@@ -210,10 +214,6 @@ RUN sed -i 's/DEST=\/etc\/pki\/ca-trust\/extracted/DEST=\/etc\/ssl/g' /usr/bin/u
210214 chown $STRIVE_UID -R /usr/local/share/ca-certificates && chmod a+rwx -R /usr/local/share/ca-certificates && \
211215 ln -s /etc/ssl/pem/tls-ca-bundle.pem /etc/ssl/certs/ca-certificates.crt
212216
213- RUN /kserve-workspace/prod_venv/bin/pip --version && \
214- /kserve-workspace/prod_venv/bin/pip install --upgrade pip && \
215- /kserve-workspace/prod_venv/bin/pip --version
216-
217217USER 1000
218218ENV PYTHONPATH=${WORKSPACE_DIR}/huggingfaceserver
219219
You can’t perform that action at this time.
0 commit comments