From 7fd52f2e721f1be3e898f7e039736aee55901827 Mon Sep 17 00:00:00 2001 From: Sharat Chikkerur Date: Mon, 27 Jan 2020 18:27:04 +0000 Subject: [PATCH] Switching to miniconda --- docker/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c74c46e..1d2ae7f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,6 +3,7 @@ FROM nvidia/cuda # Install Anaconda # Non interactive installation instructions can be found # https://hub.docker.com/r/continuumio/anaconda/dockerfile +# https://hub.docker.com/r/continuumio/miniconda/dockerfile ENV PATH /opt/conda/bin:$PATH SHELL ["/bin/bash", "-c"] @@ -10,9 +11,9 @@ RUN apt-get update --fix-missing && apt-get install -y wget bzip2 ca-certificate libglib2.0-0 libxext6 libsm6 libxrender1 \ git mercurial subversion -RUN wget --quiet https://repo.anaconda.com/archive/Anaconda2-5.3.0-Linux-x86_64.sh -O ~/anaconda.sh && \ - /bin/bash ~/anaconda.sh -b -p /opt/conda && \ - rm ~/anaconda.sh && \ +RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda2-4.5.11-Linux-x86_64.sh -O ~/miniconda.sh && \ + /bin/bash ~/miniconda.sh -b -p /opt/conda && \ + rm ~/miniconda.sh && \ ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \ echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \ echo "conda activate base" >> ~/.bashrc