Commit c0dace36 authored by Carl Osterwisch's avatar Carl Osterwisch Committed by Peter Parente

Expand $CONDA_DIR prior to writing /etc/profile.d/conda.sh

parent 6c64040f
...@@ -28,7 +28,7 @@ ENV CONDA_DIR /opt/conda ...@@ -28,7 +28,7 @@ ENV CONDA_DIR /opt/conda
ENV NB_USER jovyan ENV NB_USER jovyan
# Install conda # Install conda
RUN echo 'export PATH=$CONDA_DIR/bin:$PATH' > /etc/profile.d/conda.sh && \ RUN echo export PATH=$CONDA_DIR/bin:'$PATH' > /etc/profile.d/conda.sh && \
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-3.9.1-Linux-x86_64.sh && \ wget --quiet https://repo.continuum.io/miniconda/Miniconda3-3.9.1-Linux-x86_64.sh && \
/bin/bash /Miniconda3-3.9.1-Linux-x86_64.sh -b -p $CONDA_DIR && \ /bin/bash /Miniconda3-3.9.1-Linux-x86_64.sh -b -p $CONDA_DIR && \
rm Miniconda3-3.9.1-Linux-x86_64.sh && \ rm Miniconda3-3.9.1-Linux-x86_64.sh && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment