Skip to content

Commit 0137a65

Browse files
committed
Update openvino Dockerfile to Ubuntu 24.04
Signed-off-by: Ruedi Steinmann <[email protected]>
1 parent 7300144 commit 0137a65

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ share/python-wheels/
3131
.installed.cfg
3232
*.egg
3333
MANIFEST
34+
35+
/Dockerfile
36+
/Dockerfile.*

Dockerfile.openvino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The vLLM Dockerfile is used to construct vLLM image that can be directly used
22
# to run the OpenAI compatible server.
33

4-
FROM ubuntu:22.04 AS dev
4+
FROM ubuntu:24.04 AS dev
55

66
RUN apt-get update -y && \
77
apt-get install -y \
@@ -15,14 +15,14 @@ RUN --mount=type=bind,source=.git,target=.git \
1515
if [ "$GIT_REPO_CHECK" != 0 ]; then bash tools/check_repo.sh ; fi
1616

1717
# install build requirements
18-
RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" python3 -m pip install -r /workspace/requirements-build.txt
18+
RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" python3 -m pip install --break-system-packages -r /workspace/requirements-build.txt
1919
# build vLLM with OpenVINO backend
20-
RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_DEVICE="openvino" python3 -m pip install /workspace
20+
RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_DEVICE="openvino" python3 -m pip install --break-system-packages /workspace
2121

2222
COPY examples/ /workspace/examples
2323
COPY benchmarks/ /workspace/benchmarks
2424

2525
# install development dependencies (for testing)
26-
RUN python3 -m pip install -e tests/vllm_test_utils
26+
RUN python3 -m pip install --break-system-packages -e tests/vllm_test_utils
2727

2828
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)