Skip to content

Commit 6d99656

Browse files
authored
Install ucx on dockerfile jdk8
Install UCX on dockerfile jdk 8 for github PR test pr-link: #18663 change-id: cid-44eb2b7eb1c432ca4dd3b8050fa1dd908f0b124e
1 parent 05d2537 commit 6d99656

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

dev/github/Dockerfile-jdk11

+11
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,14 @@ RUN ARCH=$(dpkg --print-architecture) && \
174174
wget --quiet https://releases.hashicorp.com/terraform/1.0.1/terraform_1.0.1_linux_${ARCH}.zip && \
175175
unzip -o ./terraform_1.0.1_linux_${ARCH}.zip -d /usr/local/bin/ && \
176176
rm terraform_1.0.1_linux_${ARCH}.zip
177+
# UCX for RDMA
178+
RUN wget https://github.com/openucx/ucx/releases/download/v1.16.0/ucx-1.16.0.tar.gz && \
179+
tar xzf ucx-1.16.0.tar.gz && \
180+
cd ucx-1.16.0 && \
181+
mkdir build && \
182+
cd build && \
183+
../configure --prefix=/usr/local --without-go && \
184+
make -j4 && \
185+
make install && \
186+
echo "/usr/local/lib" | tee /etc/ld.so.conf.d/ucx.conf && \
187+
ldconfig \

dev/github/Dockerfile-jdk17

+11
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,14 @@ RUN ARCH=$(dpkg --print-architecture) && \
179179
wget --quiet https://releases.hashicorp.com/terraform/1.0.1/terraform_1.0.1_linux_${ARCH}.zip && \
180180
unzip -o ./terraform_1.0.1_linux_${ARCH}.zip -d /usr/local/bin/ && \
181181
rm terraform_1.0.1_linux_${ARCH}.zip
182+
# UCX for RDMA
183+
RUN wget https://github.com/openucx/ucx/releases/download/v1.16.0/ucx-1.16.0.tar.gz && \
184+
tar xzf ucx-1.16.0.tar.gz && \
185+
cd ucx-1.16.0 && \
186+
mkdir build && \
187+
cd build && \
188+
../configure --prefix=/usr/local --without-go && \
189+
make -j4 && \
190+
make install && \
191+
echo "/usr/local/lib" | tee /etc/ld.so.conf.d/ucx.conf && \
192+
ldconfig \

dev/github/Dockerfile-jdk8

+11
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,14 @@ RUN ARCH=$(dpkg --print-architecture) && \
5757
wget --quiet https://releases.hashicorp.com/terraform/1.0.1/terraform_1.0.1_linux_${ARCH}.zip && \
5858
unzip -o ./terraform_1.0.1_linux_${ARCH}.zip -d /usr/local/bin/ && \
5959
rm terraform_1.0.1_linux_${ARCH}.zip
60+
# UCX for RDMA
61+
RUN wget https://github.com/openucx/ucx/releases/download/v1.16.0/ucx-1.16.0.tar.gz && \
62+
tar xzf ucx-1.16.0.tar.gz && \
63+
cd ucx-1.16.0 && \
64+
mkdir build && \
65+
cd build && \
66+
../configure --prefix=/usr/local --without-go && \
67+
make -j4 && \
68+
make install && \
69+
echo "/usr/local/lib" | tee /etc/ld.so.conf.d/ucx.conf && \
70+
ldconfig \

0 commit comments

Comments
 (0)