From 730b2e5adba7fa95b224426d5fba216af9d76eb8 Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Fri, 28 May 2021 18:32:10 +0300 Subject: [PATCH] Install both python2 and python3 `build_tools` are not require python2, but it use Google Build tools to build v8 and those tools are still require python2 This changes allow correctly build our product on all systems starting from Ubuntu 14.04 and until Ubuntu 20.04 including Debian 10 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e317e27..1397313 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,10 @@ ENV TZ=Etc/UTC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get -y update && \ - apt-get -y install python3 \ + apt-get -y install python \ + python3 \ sudo - +RUN rm /usr/bin/python && ln -s /usr/bin/python2 /usr/bin/python ADD . /build_tools WORKDIR /build_tools