Skip to content

Update Dockerfile #13069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
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