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
58cafe23
Unverified
Commit
58cafe23
authored
Sep 15, 2024
by
William Arnold
Committed by
GitHub
Sep 15, 2024
Browse files
Add libibverbs-dev to Dockerfile (#1427)
parent
9463bc13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
docker/Dockerfile
docker/Dockerfile
+2
-1
No files found.
docker/Dockerfile
View file @
58cafe23
...
@@ -11,7 +11,7 @@ RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
...
@@ -11,7 +11,7 @@ RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
&&
apt
install
python3.10 python3.10-dev
-y
\
&&
apt
install
python3.10 python3.10-dev
-y
\
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.8 1
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.10 2
\
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.8 1
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.10 2
\
&&
update-alternatives
--set
python3 /usr/bin/python3.10
&&
apt
install
python3.10-distutils
-y
\
&&
update-alternatives
--set
python3 /usr/bin/python3.10
&&
apt
install
python3.10-distutils
-y
\
&&
apt
install
curl git
sudo
-y
\
&&
apt
install
curl git
sudo
libibverbs-dev
-y
\
&&
curl https://bootstrap.pypa.io/get-pip.py
-o
get-pip.py
&&
python3 get-pip.py
\
&&
curl https://bootstrap.pypa.io/get-pip.py
-o
get-pip.py
&&
python3 get-pip.py
\
&&
python3
--version
\
&&
python3
--version
\
&&
python3
-m
pip
--version
\
&&
python3
-m
pip
--version
\
...
@@ -46,4 +46,5 @@ RUN if [ "$CUDA_VERSION" = "12.1.1" ]; then \
...
@@ -46,4 +46,5 @@ RUN if [ "$CUDA_VERSION" = "12.1.1" ]; then \
RUN
python3
-m
pip cache purge
RUN
python3
-m
pip cache purge
ENV
DEBIAN_FRONTEND=interactive
ENV
DEBIAN_FRONTEND=interactive
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