devops: fix WebKit Ubuntu 18.04 build (#16770)

This commit is contained in:
Andrey Lushnikov 2022-08-23 12:04:03 -07:00 committed by GitHub
parent e194b2ae6b
commit 66b2641312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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