mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
Add pip2, pip3 symlinks for images with python2
Fixes #123 (c) Copyright IBM Corp. 2016
This commit is contained in:
@@ -59,6 +59,9 @@ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \
|
||||
'h5py=2.5*' \
|
||||
'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
|
||||
|
||||
USER root
|
||||
|
||||
|
Reference in New Issue
Block a user