From bdc40e1572a4f85832c53d4ab3a23d70f16b8d60 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Tue, 5 Aug 2025 11:44:32 +0500 Subject: [PATCH] Fix bug 76209 --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0cd5a0a..eb8cb99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,17 @@ 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 python \ - python3 \ + apt-get -y install tar \ sudo -RUN rm /usr/bin/python && ln -s /usr/bin/python2 /usr/bin/python + ADD . /build_tools WORKDIR /build_tools +RUN mkdir -p /opt/python3 && \ + tar -xzf /build_tools/tools/linux/python3.tar.gz -C /opt/python3 --strip-components=1 + +ENV PATH="/opt/python3/bin:${PATH}" + +RUN ln -s /opt/python3/bin/python3.10 /usr/bin/python + CMD ["sh", "-c", "cd tools/linux && python3 ./automate.py"]