Merge pull request #2814 from AI-ML-Projects/master

Enhancement debian package manager tweaks
This commit is contained in:
lissyx 2020-03-06 21:27:29 +01:00 committed by GitHub
commit 3bd0b20bf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04
# Get basic packages # Get basic packages
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils \
build-essential \ build-essential \
curl \ curl \
wget \ wget \
@ -44,14 +45,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN ln -s -f /usr/bin/python3 /usr/bin/python RUN ln -s -f /usr/bin/python3 /usr/bin/python
# Install NCCL 2.2 # Install NCCL 2.2
RUN apt-get install -qq -y --allow-downgrades --allow-change-held-packages libnccl2=2.3.7-1+cuda10.0 libnccl-dev=2.3.7-1+cuda10.0 RUN apt-get --no-install-recommends install -qq -y --allow-downgrades --allow-change-held-packages libnccl2=2.3.7-1+cuda10.0 libnccl-dev=2.3.7-1+cuda10.0
# Install Bazel # Install Bazel
RUN curl -LO "https://github.com/bazelbuild/bazel/releases/download/0.24.1/bazel_0.24.1-linux-x86_64.deb" RUN curl -LO "https://github.com/bazelbuild/bazel/releases/download/0.24.1/bazel_0.24.1-linux-x86_64.deb"
RUN dpkg -i bazel_*.deb RUN dpkg -i bazel_*.deb
# Install CUDA CLI Tools # Install CUDA CLI Tools
RUN apt-get install -qq -y cuda-command-line-tools-10-0 RUN apt-get --no-install-recommends install -qq -y cuda-command-line-tools-10-0
# Install pip # Install pip
RUN wget https://bootstrap.pypa.io/get-pip.py && \ RUN wget https://bootstrap.pypa.io/get-pip.py && \