Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docker/llm/serving/xpu/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ RUN set -eux && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone && \
#
# Install Python 3.11
# Install Python 3.12
add-apt-repository ppa:deadsnakes/ppa -y && \
apt-get install -y --no-install-recommends python3.11 python3-pip python3.11-dev python3.11-distutils python3-wheel && \
rm /usr/bin/python3 && ln -s /usr/bin/python3.11 /usr/bin/python3 && \
apt-get install -y --no-install-recommends python3.12 python3-pip python3.12-dev python3-wheel && \
rm /usr/bin/python3 && ln -s /usr/bin/python3.12 /usr/bin/python3 && \
ln -s /usr/bin/python3 /usr/bin/python && \
#
# Install pip and essential Python packages
Expand Down Expand Up @@ -112,10 +112,10 @@ RUN set -eux && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone && \
#
# Install Python 3.11
# Install Python 3.12
add-apt-repository ppa:deadsnakes/ppa -y && \
apt-get install -y --no-install-recommends python3.11 python3-pip python3.11-dev python3.11-distutils python3-wheel && \
rm /usr/bin/python3 && ln -s /usr/bin/python3.11 /usr/bin/python3 && \
apt-get install -y --no-install-recommends python3.12 python3-pip python3.12-dev python3-wheel && \
rm /usr/bin/python3 && ln -s /usr/bin/python3.12 /usr/bin/python3 && \
ln -s /usr/bin/python3 /usr/bin/python && \
#
# Install pip and essential Python packages
Expand Down