mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
Merge pull request #151 from jam7/fix-pip
linux-*: Change common.docker to fix pip installation.
This commit is contained in:
commit
2b28515daf
@ -28,7 +28,15 @@ RUN \
|
||||
-python $([ -e /opt/python/cp35-cp35m/bin/python ] && echo "/opt/python/cp35-cp35m/bin/python" || echo "python") && \
|
||||
rm /dockcross/install-ninja.sh
|
||||
|
||||
RUN $([ -e /opt/python/cp35-cp35m/bin/python ] && echo "/opt/python/cp35-cp35m/bin/python" || echo "python") -m pip install conan
|
||||
RUN if [ -e /opt/python/cp35-cp35m/bin/python ]; then \
|
||||
: nothing to do here since it is updated by manylinux-common/install-python-packages.sh ; \
|
||||
else \
|
||||
wget https://bootstrap.pypa.io/get-pip.py && \
|
||||
python get-pip.py --ignore-installed && \
|
||||
rm get-pip.py || exit 1; \
|
||||
fi
|
||||
|
||||
RUN $([ -e /opt/python/cp35-cp35m/bin/python ] && echo "/opt/python/cp35-cp35m/bin/python" || echo "python") -m pip install --ignore-installed conan
|
||||
|
||||
RUN echo "root:root" | chpasswd
|
||||
WORKDIR /work
|
||||
|
Loading…
Reference in New Issue
Block a user