Skip to content

Commit fc6022a

Browse files
committed
install pip explicitly
it should be there automatically, but no harm in being explicit
1 parent 75519a5 commit fc6022a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

base-notebook/Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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)