mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 19:42:58 +00:00
Merge pull request #648 from jakirkham/use_conda_4.5
Upgrade to conda 4.5.4
This commit is contained in:
@@ -61,15 +61,16 @@ RUN mkdir /home/$NB_USER/work && \
|
|||||||
fix-permissions /home/$NB_USER
|
fix-permissions /home/$NB_USER
|
||||||
|
|
||||||
# Install conda as jovyan and check the md5 sum provided on the download site
|
# Install conda as jovyan and check the md5 sum provided on the download site
|
||||||
ENV MINICONDA_VERSION 4.4.10
|
ENV MINICONDA_VERSION 4.5.1
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
|
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
|
||||||
echo "bec6203dbb2f53011e974e9bf4d46e93 *Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh" | md5sum -c - && \
|
echo "0c28787e3126238df24c5d4858bd0744 *Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh" | md5sum -c - && \
|
||||||
/bin/bash Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
|
/bin/bash Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
|
||||||
rm Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
|
rm Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
|
||||||
$CONDA_DIR/bin/conda config --system --prepend channels conda-forge && \
|
$CONDA_DIR/bin/conda config --system --prepend channels conda-forge && \
|
||||||
$CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
|
$CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
|
||||||
$CONDA_DIR/bin/conda config --system --set show_channel_urls true && \
|
$CONDA_DIR/bin/conda config --system --set show_channel_urls true && \
|
||||||
|
$CONDA_DIR/bin/conda install --quiet --yes conda=4.5.4 && \
|
||||||
$CONDA_DIR/bin/conda update --all --quiet --yes && \
|
$CONDA_DIR/bin/conda update --all --quiet --yes && \
|
||||||
conda clean -tipsy && \
|
conda clean -tipsy && \
|
||||||
rm -rf /home/$NB_USER/.cache/yarn && \
|
rm -rf /home/$NB_USER/.cache/yarn && \
|
||||||
|
Reference in New Issue
Block a user