Fix ipex-llm-cpu docker image (#11213)

* fix

* fix ipex-llm-cpu image
This commit is contained in:
Shaojun Liu 2024-06-05 11:13:17 +08:00 committed by GitHub
parent 566691c5a3
commit 1f2057b16a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 && \