Skip to content

Commit

Permalink
nccl
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue committed Jul 29, 2024
1 parent 3bf9929 commit 7cf80d1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions rdma-tools/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ ARG VERSION_PERFTEST
ENV VERSION_PERFTEST=${VERSION_PERFTEST}

# Mellanox OFED (latest)
RUN wget -qO - https://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | apt-key add -
RUN cd /etc/apt/sources.list.d/ && wget https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu22.04/mellanox_mlnx_ofed.list
RUN apt-get update \
&& apt-get install -y --no-install-recommends wget \
&& wget -qO - https://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | apt-key add - \
&& cd /etc/apt/sources.list.d/ && wget https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu22.04/mellanox_mlnx_ofed.list

# build perftest
#fix warning: debconf: delaying package configuration, since apt-utils is not installed
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends libibverbs-dev librdmacm-dev libibumad-dev libpci-dev \
&& apt-get install -y --no-install-recommends wget automake libtool make
RUN apt-get install -y --no-install-recommends libibverbs-dev librdmacm-dev libibumad-dev libpci-dev \
&& apt-get install -y --no-install-recommends automake libtool make
WORKDIR /
RUN echo "build perftest ${VERSION_PERFTEST}" && wget --no-check-certificate https://github.com/linux-rdma/perftest/archive/refs/tags/${VERSION_PERFTEST}.tar.gz \
&& tar xzvf ${VERSION_PERFTEST}.tar.gz \
Expand Down

0 comments on commit 7cf80d1

Please sign in to comment.