mirror of
https://github.com/wassname/vllm.git
synced 2026-10-01 12:42:39 +08:00
[CI/Build] Make the Dockerfile.cpu file's PIP_EXTRA_INDEX_URL Configurable as a Build Argument (#9252)
This commit is contained in:
1 parent
055f3270d4
commit
21efb603f5
1 file changed
+2
-1
+2
-1
@@ -26,7 +26,8 @@ RUN pip install intel_extension_for_pytorch==2.4.0
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
ENV PIP_EXTRA_INDEX_URL=https://download.pytorch.org/whl/cpu
|
||||
ARG PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu"
|
||||
ENV PIP_EXTRA_INDEX_URL=${PIP_EXTRA_INDEX_URL}
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
--mount=type=bind,src=requirements-build.txt,target=requirements-build.txt \
|
||||
pip install --upgrade pip && \
|
||||
|
||||
Reference in new issue
Block a user