From 1f2057b16af45f69e74888eec72f40bc2e762f5e Mon Sep 17 00:00:00 2001 From: Shaojun Liu <61072813+liu-shaojun@users.noreply.github.com> Date: Wed, 5 Jun 2024 11:13:17 +0800 Subject: [PATCH] Fix ipex-llm-cpu docker image (#11213) * fix * fix ipex-llm-cpu image --- docker/llm/inference/cpu/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/llm/inference/cpu/docker/Dockerfile b/docker/llm/inference/cpu/docker/Dockerfile index 917bb352..f0494ff3 100644 --- a/docker/llm/inference/cpu/docker/Dockerfile +++ b/docker/llm/inference/cpu/docker/Dockerfile @@ -18,14 +18,14 @@ RUN env DEBIAN_FRONTEND=noninteractive apt-get update && \ # Install Python 3.11 # Install Python 3.11 apt-get install -y python3.11 && \ + # Install Python 3.11 development and utility packages + apt-get install -y python3-pip python3.11-dev python3-wheel python3.11-distutils && \ # Remove the original /usr/bin/python3 symbolic link rm /usr/bin/python3 && \ # Create a symbolic link pointing to Python 3.11 at /usr/bin/python3 ln -s /usr/bin/python3.11 /usr/bin/python3 && \ # Create a symbolic link pointing to /usr/bin/python3 at /usr/bin/python ln -s /usr/bin/python3 /usr/bin/python && \ - # Install Python 3.11 development and utility packages - apt-get install -y python3-pip python3.11-dev python3-wheel python3.11-distutils && \ # Download and install pip, install FastChat from source requires PEP 660 support curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ python3 get-pip.py && \