Skip to content

Commit

Permalink
Install ucx on dockerfile jdk8
Browse files Browse the repository at this point in the history
Install UCX on dockerfile jdk 8 for github PR test
			pr-link: #18663
			change-id: cid-44eb2b7eb1c432ca4dd3b8050fa1dd908f0b124e
  • Loading branch information
LuQQiu authored Jul 25, 2024
1 parent 05d2537 commit 6d99656
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dev/github/Dockerfile-jdk11
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,14 @@ RUN ARCH=$(dpkg --print-architecture) && \
wget --quiet https://releases.hashicorp.com/terraform/1.0.1/terraform_1.0.1_linux_${ARCH}.zip && \
unzip -o ./terraform_1.0.1_linux_${ARCH}.zip -d /usr/local/bin/ && \
rm terraform_1.0.1_linux_${ARCH}.zip
# UCX for RDMA
RUN wget https://github.com/openucx/ucx/releases/download/v1.16.0/ucx-1.16.0.tar.gz && \
tar xzf ucx-1.16.0.tar.gz && \
cd ucx-1.16.0 && \
mkdir build && \
cd build && \
../configure --prefix=/usr/local --without-go && \
make -j4 && \
make install && \
echo "/usr/local/lib" | tee /etc/ld.so.conf.d/ucx.conf && \
ldconfig \
11 changes: 11 additions & 0 deletions dev/github/Dockerfile-jdk17
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,14 @@ RUN ARCH=$(dpkg --print-architecture) && \
wget --quiet https://releases.hashicorp.com/terraform/1.0.1/terraform_1.0.1_linux_${ARCH}.zip && \
unzip -o ./terraform_1.0.1_linux_${ARCH}.zip -d /usr/local/bin/ && \
rm terraform_1.0.1_linux_${ARCH}.zip
# UCX for RDMA
RUN wget https://github.com/openucx/ucx/releases/download/v1.16.0/ucx-1.16.0.tar.gz && \
tar xzf ucx-1.16.0.tar.gz && \
cd ucx-1.16.0 && \
mkdir build && \
cd build && \
../configure --prefix=/usr/local --without-go && \
make -j4 && \
make install && \
echo "/usr/local/lib" | tee /etc/ld.so.conf.d/ucx.conf && \
ldconfig \
11 changes: 11 additions & 0 deletions dev/github/Dockerfile-jdk8
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,14 @@ RUN ARCH=$(dpkg --print-architecture) && \
wget --quiet https://releases.hashicorp.com/terraform/1.0.1/terraform_1.0.1_linux_${ARCH}.zip && \
unzip -o ./terraform_1.0.1_linux_${ARCH}.zip -d /usr/local/bin/ && \
rm terraform_1.0.1_linux_${ARCH}.zip
# UCX for RDMA
RUN wget https://github.com/openucx/ucx/releases/download/v1.16.0/ucx-1.16.0.tar.gz && \
tar xzf ucx-1.16.0.tar.gz && \
cd ucx-1.16.0 && \
mkdir build && \
cd build && \
../configure --prefix=/usr/local --without-go && \
make -j4 && \
make install && \
echo "/usr/local/lib" | tee /etc/ld.so.conf.d/ucx.conf && \
ldconfig \

0 comments on commit 6d99656

Please sign in to comment.