update urllib3 and gpgv Dockerfile (#17439)

This commit is contained in:
ishandhanani
2026-01-20 16:47:20 -06:00
committed by GitHub
parent 6092721594
commit 1e309030e3

View File

@@ -424,6 +424,8 @@ RUN if [ "${CUDA_VERSION%%.*}" = "13" ] && [ -d /usr/local/lib/python3.12/dist-p
ln -s /usr/local/cuda/bin/ptxas /usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/bin/ptxas; \
fi
RUN python3 -m pip install --upgrade "urllib3>=2.6.3"
# Set workspace directory
WORKDIR /sgl-workspace/sglang
@@ -505,6 +507,8 @@ RUN --mount=type=cache,target=/var/cache/apt,id=runtime-apt \
# NCCL packages needed for pynccl_allocator JIT compilation (-lnccl)
libnccl2 \
libnccl-dev \
# GPG key verification
gnupg2 \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 \
&& update-alternatives --set python3 /usr/bin/python3.12 \
&& ln -sf /usr/bin/python3.12 /usr/bin/python \