From fd9eb62a4d815ebe57f8678e7c10ac7a98dd50ac Mon Sep 17 00:00:00 2001 From: chorus12 Date: Sat, 9 May 2020 13:41:35 +0300 Subject: [PATCH] fixed conda install --- Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d365791..cf72fd8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,24 +4,25 @@ FROM nvidia/cuda:9.0-cudnn7-devel RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y \ build-essential \ - curl \ + wget \ git \ + nano \ && apt-get clean # Install python miniconda3 + requirements ENV MINICONDA_HOME="/opt/miniconda" ENV PATH="${MINICONDA_HOME}/bin:${PATH}" -RUN curl -o Miniconda3-latest-Linux-x86_64.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh \ - && chmod +x Miniconda3-latest-Linux-x86_64.sh \ - && ./Miniconda3-latest-Linux-x86_64.sh -b -p "${MINICONDA_HOME}" \ +RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh\ + && chmod +x Miniconda3-latest-Linux-x86_64.sh\ + && ./Miniconda3-latest-Linux-x86_64.sh -b -p "${MINICONDA_HOME}"\ && rm Miniconda3-latest-Linux-x86_64.sh COPY environment.yml environment.yml RUN conda env update -n=root --file=environment.yml -RUN conda clean -y -i -l -p -t && \ +RUN conda clean -y -i -p -t && \ rm environment.yml # Clone deep image prior repository -RUN git clone https://github.com/DmitryUlyanov/deep-image-prior.git +RUN mkdir -p /deep-image-prior WORKDIR /deep-image-prior # Start container in notebook mode