Unverified Commit ad21d3a1 authored by Thomas Vegas's avatar Thomas Vegas Committed by GitHub
Browse files

fix: force infiniband libraries reinstall when building container (#3343)


Signed-off-by: default avatarThomas Vegas <tvegas@nvidia.com>
Signed-off-by: default avatarThomas Vegas <125344591+tvegas1@users.noreply.github.com>
Co-authored-by: default avatarHarrison Saturley-Hall <harrison.saturley.hall@gmail.com>
parent ba486b60
......@@ -122,15 +122,6 @@ RUN apt-get update -y \
net-tools \
ninja-build \
pybind11-dev \
# These headers are missing with the hpcx installer, required
# by UCX to find RDMA devices
ibverbs-providers \
ibverbs-utils \
libibumad-dev \
libibverbs-dev \
librdmacm-dev \
libnuma-dev \
rdma-core \
# Rust build dependencies
clang \
libclang-dev \
......@@ -138,6 +129,21 @@ RUN apt-get update -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# These headers are missing with the hpcx installer, required
# by UCX to build and use RDMA devices. Reinstall to make sure to recreate
# symlink .so to .so.1 in case some packages are already found.
RUN apt-get update -y \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --reinstall --no-install-recommends \
libibverbs-dev \
rdma-core \
ibverbs-utils \
libibumad-dev \
libnuma-dev \
librdmacm-dev \
ibverbs-providers \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
##################################
########## External Services #####
##################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment