From 66b26413122b3d0fefe82cb1b10a6477bf76b0ac Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 23 Aug 2022 12:04:03 -0700 Subject: [PATCH] devops: fix WebKit Ubuntu 18.04 build (#16770) --- browser_patches/docker/webkit/ubuntu-18.04.dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/browser_patches/docker/webkit/ubuntu-18.04.dockerfile b/browser_patches/docker/webkit/ubuntu-18.04.dockerfile index 7cba2be2c8..8d03b4c919 100644 --- a/browser_patches/docker/webkit/ubuntu-18.04.dockerfile +++ b/browser_patches/docker/webkit/ubuntu-18.04.dockerfile @@ -31,6 +31,14 @@ RUN add-apt-repository ppa:ubuntu-toolchain-r/test && \ ENV CC=/usr/bin/gcc-9 ENV CXX=/usr/bin/g++-9 +# Install Python3 with distutils +RUN apt-get install -y python3.8 python3.8-dev python3.8-distutils && \ + # Point python3 to python3.8 + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2 && \ + curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ + python3 get-pip.py && \ + rm get-pip.py + # Install Azure CLI RUN curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash