File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,27 @@ ENV OPEN_MPI_PATH=/opt/amazon/openmpi
1010ENV PATH="${LIBFABRIC_PATH}/bin:${OPEN_MPI_PATH}/bin:${PATH}"
1111ENV LD_LIBRARY_PATH="${OPEN_MPI_PATH}/lib:${LD_LIBRARY_PATH}"
1212
13- # prerequisites
14-
15- RUN cuda_version=$(echo ${CUDA_VERSION} | awk -F . '{ print $1"-"$2 }' ) \
16- && apt-get update \
13+ # Install build dependencies
14+ RUN export DEBIAN_FRONTEND=noninteractive \
15+ && apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub \
16+ && apt-get update --fix-missing \
17+ && apt-get upgrade -y \
18+ && ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime \
19+ && apt-get install -y tzdata \
20+ && dpkg-reconfigure --frontend noninteractive tzdata \
21+ && cuda_version=$(echo ${CUDA_VERSION} | awk -F . '{ print $1"-"$2 }' ) \
1722 && apt-get install -y --no-install-recommends \
1823 cuda-libraries-dev-${cuda_version} \
1924 cuda-nvcc-${cuda_version} \
2025 libhwloc-dev \
2126 autoconf \
2227 automake \
23- libtool
28+ libtool \
29+ libopenmpi-dev \
30+ git \
31+ curl \
32+ python3 \
33+ build-essential
2434
2535# EFA
2636
You can’t perform that action at this time.
0 commit comments