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:
Leonid Pliushch 2021-06-21 20:00:53 +03:00
parent a56db848dc
commit add9833e46
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -200,6 +200,11 @@ else
SUDO="sudo"
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.
$SUDO dpkg --add-architecture i386
$SUDO apt-get -yq update