File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ COPY --from=builder ${NCCL_TESTS_HOME}/build ${NCCL_TESTS_HOME}
6060ARG FLAVOR
6161
6262# Configure library paths
63- RUN apt-get install -y --no-install-recommends openmpi-bin \
63+ RUN apt-get update \
64+ && apt-get install -y --no-install-recommends openmpi-bin \
6465 && if [ "$FLAVOR" = "devel" ]; then \
6566 cuda_version=$(echo ${CUDA_VERSION} | awk -F . '{ print $1"-"$2 }' ) \
6667 && apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ ARG NCCL_VERSION=2.26.2-1
1414ARG OFI_VERSION=1.14.0
1515ARG FLAVOR
1616
17- RUN cuda_version=$(echo ${CUDA_VERSION} | awk -F . '{ print $1"-"$2 }' ) \
17+ RUN apt-get update \
18+ && cuda_version=$(echo ${CUDA_VERSION} | awk -F . '{ print $1"-"$2 }' ) \
1819 && apt-get install -y --no-install-recommends \
1920 cuda-libraries-dev-${cuda_version} \
2021 cuda-nvcc-${cuda_version} \
You can’t perform that action at this time.
0 commit comments