From add9833e465220b7203d89c97f3bdf041e89eee6 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Mon, 21 Jun 2021 20:00:53 +0300 Subject: [PATCH] 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. --- scripts/setup-ubuntu.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/setup-ubuntu.sh b/scripts/setup-ubuntu.sh index 9a19aaca6..4e24a4f2d 100755 --- a/scripts/setup-ubuntu.sh +++ b/scripts/setup-ubuntu.sh @@ -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