From 169d94dab9dca48c02b9802ffe939cbc1495fa9a Mon Sep 17 00:00:00 2001 From: Taichang Zhou Date: Wed, 11 Feb 2026 21:31:09 +0800 Subject: [PATCH] Refactor Dockerfile.ci to use bash for Python executable resolution during vllm-omni installation and pin nvidia-cublas-cu12 version to 12.9.1.4 for consistent dependency management. Signed-off-by: Taichang Zhou --- docker/Dockerfile.ci | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.ci b/docker/Dockerfile.ci index daee9e923..c39bafd30 100644 --- a/docker/Dockerfile.ci +++ b/docker/Dockerfile.ci @@ -32,7 +32,11 @@ RUN uv pip install --system --upgrade --force-reinstall --prerelease=allow vllm # flashinfer show-config # Install vllm-omni into the same uv-managed Python environment used by the base image. -RUN uv pip install --python "$(python3 -c 'import sys; print(sys.executable)')" --no-cache-dir -e . +# Use bash -c so that $(python3 -c ...) is expanded inside the container. +RUN /bin/bash -c 'uv pip install --python "$(python3 -c "import sys; print(sys.executable)")" --no-cache-dir -e .' + +# Pin nvidia-cublas-cu12 after vllm-omni install so dependency resolution does not overwrite it +RUN uv pip install --system --upgrade --force-reinstall "nvidia-cublas-cu12==12.9.1.4" RUN ln -sf /usr/bin/python3 /usr/bin/python