Skip to content

Commit 5d7c488

Browse files
authored
Preinstall rdma-core packages into dstack Docker image (#2764)
1 parent dd169d1 commit 5d7c488

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/base/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
1919
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
2020
apt-get install -y tzdata && \
2121
dpkg-reconfigure --frontend noninteractive tzdata && \
22-
apt-get install -y bzip2 ca-certificates curl build-essential git libglib2.0-0 libsm6 libxext6 libxrender1 mercurial openssh-server subversion wget && \
22+
apt-get install -y bzip2 ca-certificates curl build-essential git libglib2.0-0 libsm6 libxext6 libxrender1 mercurial openssh-server subversion wget \
23+
libibverbs1 ibverbs-providers ibverbs-utils libibverbs-dev infiniband-diags && \
2324
sed -i "s/.*PasswordAuthentication.*/PasswordAuthentication no/g" /etc/ssh/sshd_config && mkdir /run/sshd && \
2425
mkdir ~/.ssh && chmod 700 ~/.ssh && touch ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys && rm /etc/ssh/ssh_host_*
2526

0 commit comments

Comments
 (0)