From 9a84e6931d64a153b5c6f605d1d2555abf91592d Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Wed, 19 Feb 2020 21:02:51 +0100 Subject: Use python3 in Travis for building docs and running clang-tidy Change-Id: I2f0d72abdf12a4e64b79bf9a3c02b32cf4cbeed6 Reviewed-by: Richard Weickelt Reviewed-by: Christian Kandeler --- docker/bionic/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docker/bionic') diff --git a/docker/bionic/Dockerfile b/docker/bionic/Dockerfile index 31c124e6b..0a702109c 100644 --- a/docker/bionic/Dockerfile +++ b/docker/bionic/Dockerfile @@ -142,7 +142,8 @@ RUN apt-get update -qq && \ protobuf-compiler \ protobuf-compiler-grpc \ psmisc \ - python-pip \ + python3-pip \ + python3-setuptools \ p7zip-full \ subversion \ unzip \ @@ -150,7 +151,9 @@ RUN apt-get update -qq && \ update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 100 && \ update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 100 && \ update-alternatives --install /usr/bin/clang-check clang-check /usr/bin/clang-check-8 100 && \ - pip install beautifulsoup4 lxml # for building the documentation + update-alternatives --install /usr/bin/python python /usr/bin/python3 100 && \ + update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 100 && \ + pip install beautifulsoup4 lxml pyyaml ENV LLVM_INSTALL_DIR=/usr/lib/llvm-8 -- cgit v1.2.3