Skip to content

Commit e00fd05

Browse files
authored
install pip explicitly (#989)
install pip explicitly
2 parents 75519a5 + 9c8ac72 commit e00fd05

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

base-notebook/Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ RUN mkdir /home/$NB_USER/work && \
7070
fix-permissions /home/$NB_USER
7171

7272
# Install conda as jovyan and check the md5 sum provided on the download site
73-
ENV MINICONDA_VERSION=4.7.10 \
74-
MINICONDA_MD5=1c945f2b3335c7b2b15130b1b2dc5cf4 \
73+
ENV MINICONDA_VERSION=4.7.12.1 \
74+
MINICONDA_MD5=81c773ff87af5cfac79ab862942ab6b3 \
7575
CONDA_VERSION=4.7.12
7676

7777
RUN cd /tmp && \
@@ -80,13 +80,14 @@ RUN cd /tmp && \
8080
/bin/bash Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
8181
rm Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
8282
echo "conda ${CONDA_VERSION}" >> $CONDA_DIR/conda-meta/pinned && \
83-
$CONDA_DIR/bin/conda config --system --prepend channels conda-forge && \
84-
$CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
85-
$CONDA_DIR/bin/conda config --system --set show_channel_urls true && \
83+
conda config --system --prepend channels conda-forge && \
84+
conda config --system --set auto_update_conda false && \
85+
conda config --system --set show_channel_urls true && \
8686
if [ ! $PYTHON_VERSION = 'default' ]; then conda install --yes python=$PYTHON_VERSION; fi && \
8787
conda list python | grep '^python ' | tr -s ' ' | cut -d '.' -f 1,2 | sed 's/$/.*/' >> $CONDA_DIR/conda-meta/pinned && \
88-
$CONDA_DIR/bin/conda install --quiet --yes conda && \
89-
$CONDA_DIR/bin/conda update --all --quiet --yes && \
88+
conda install --quiet --yes conda && \
89+
conda install --quiet --yes pip && \
90+
conda update --all --quiet --yes && \
9091
conda clean --all -f -y && \
9192
rm -rf /home/$NB_USER/.cache/yarn && \
9293
fix-permissions $CONDA_DIR && \
@@ -106,7 +107,7 @@ RUN conda install --quiet --yes 'tini=0.18.0' && \
106107
# Do all this in a single RUN command to avoid duplicating all of the
107108
# files across image layers when the permissions change
108109
RUN conda install --quiet --yes \
109-
'notebook=6.0.2' \
110+
'notebook=6.0.3' \
110111
'jupyterhub=1.1.0' \
111112
'jupyterlab=1.2.5' && \
112113
conda clean --all -f -y && \

0 commit comments

Comments
 (0)