Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
4ef47839
Unverified
Commit
4ef47839
authored
Aug 05, 2025
by
Yineng Zhang
Committed by
GitHub
Aug 05, 2025
Browse files
feat: use py312 (#8832)
parent
32d9e39a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
docker/Dockerfile
docker/Dockerfile
+9
-0
No files found.
docker/Dockerfile
View file @
4ef47839
...
...
@@ -12,6 +12,15 @@ ENV DEBIAN_FRONTEND=noninteractive \
ENV
PATH="${PATH}:/usr/local/nvidia/bin" \
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/nvidia/lib:/usr/local/nvidia/lib64"
RUN
apt update
&&
apt
install
wget
-y
&&
apt
install
software-properties-common
-y
\
&&
add-apt-repository ppa:deadsnakes/ppa
-y
\
&&
apt
install
python3.12-full
-y
\
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.10 1
\
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.12 2
\
&&
update-alternatives
--set
python3 /usr/bin/python3.12
\
&&
wget https://bootstrap.pypa.io/get-pip.py
\
&&
python3 get-pip.py
# Set timezone and install all packages
RUN
echo
'tzdata tzdata/Areas select America'
| debconf-set-selections
\
&&
echo
'tzdata tzdata/Zones/America select Los_Angeles'
| debconf-set-selections
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment