Add pip2, pip3 symlinks for images with python2

Fixes #123

(c) Copyright IBM Corp. 2016
This commit is contained in:
Peter Parente
2016-05-29 23:09:25 -04:00
parent f737456f8a
commit e384a4512b
6 changed files with 47 additions and 4 deletions

View File

@@ -69,6 +69,9 @@ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'scikit-learn=0.17*' \
pyzmq \
&& conda clean -tipsy
# Add shortcuts to distinguish pip for python2 and python3 envs
RUN ln -s $CONDA_DIR/envs/python2/bin/pip $CONDA_DIR/bin/pip2 && \
ln -s $CONDA_DIR/bin/pip $CONDA_DIR/bin/pip3
# Install Python 2 kernel spec into the Python 3 conda environment which
# runs the notebook server