docker image: install pip for python2
Ubuntu threw away pip for python2, so we have to install it manually. It is needed currently for "pypanel" in x11-packages repository.
This commit is contained in:
parent
a56db848dc
commit
add9833e46
@ -200,6 +200,11 @@ else
|
|||||||
SUDO="sudo"
|
SUDO="sudo"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Pip for python2.
|
||||||
|
curl -L --output /tmp/py2-get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py
|
||||||
|
$SUDO python2 /tmp/py2-get-pip.py
|
||||||
|
rm -f /tmp/py2-get-pip.py
|
||||||
|
|
||||||
# Allow 32-bit packages.
|
# Allow 32-bit packages.
|
||||||
$SUDO dpkg --add-architecture i386
|
$SUDO dpkg --add-architecture i386
|
||||||
$SUDO apt-get -yq update
|
$SUDO apt-get -yq update
|
||||||
|
Loading…
Reference in New Issue
Block a user