From bf64185410f8f0d5a16ae930f98f9cbb2bb2edc9 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 20 Jun 2023 21:03:45 -0400 Subject: [PATCH] Replace Python 3.9.17 to 3.9.7 to resolve compilation inconsistency on CentOS7 (#3650) Signed-off-by: Peter Zhu --- .../build.centos7.opensearch-dashboards.x64.arm64.dockerfile | 4 ++-- .../current/build.centos7.opensearch.x64.arm64.dockerfile | 4 ++-- .../current/release.centos7.clients.x64.arm64.dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/ci/dockerfiles/current/build.centos7.opensearch-dashboards.x64.arm64.dockerfile b/docker/ci/dockerfiles/current/build.centos7.opensearch-dashboards.x64.arm64.dockerfile index 21f9e692d3..8accf88a86 100644 --- a/docker/ci/dockerfiles/current/build.centos7.opensearch-dashboards.x64.arm64.dockerfile +++ b/docker/ci/dockerfiles/current/build.centos7.opensearch-dashboards.x64.arm64.dockerfile @@ -65,8 +65,8 @@ ENV GEM_PATH=$GEM_HOME ENV PATH=$RUBY_HOME:$RVM_HOME:$PATH # Install Python binary -RUN curl https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz | tar xzvf - && \ - cd Python-3.9.17 && \ +RUN curl https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz | tar xzvf - && \ + cd Python-3.9.7 && \ ./configure --enable-optimizations && \ make altinstall diff --git a/docker/ci/dockerfiles/current/build.centos7.opensearch.x64.arm64.dockerfile b/docker/ci/dockerfiles/current/build.centos7.opensearch.x64.arm64.dockerfile index 0baf7310e2..942f4e91a6 100644 --- a/docker/ci/dockerfiles/current/build.centos7.opensearch.x64.arm64.dockerfile +++ b/docker/ci/dockerfiles/current/build.centos7.opensearch.x64.arm64.dockerfile @@ -74,8 +74,8 @@ ENV GEM_PATH=$GEM_HOME ENV PATH=$RUBY_HOME:$RVM_HOME:$PATH # Install Python binary -RUN curl https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz | tar xzvf - && \ - cd Python-3.9.17 && \ +RUN curl https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz | tar xzvf - && \ + cd Python-3.9.7 && \ ./configure --enable-optimizations && \ make altinstall diff --git a/docker/ci/dockerfiles/current/release.centos7.clients.x64.arm64.dockerfile b/docker/ci/dockerfiles/current/release.centos7.clients.x64.arm64.dockerfile index 6ca8ed53c5..55d270c3d6 100644 --- a/docker/ci/dockerfiles/current/release.centos7.clients.x64.arm64.dockerfile +++ b/docker/ci/dockerfiles/current/release.centos7.clients.x64.arm64.dockerfile @@ -72,8 +72,8 @@ RUN export MAVEN_URL=`curl -s https://maven.apache.org/download.cgi | grep -Eo ' RUN chmod -R 777 /dev/shm # Installing Python binary -RUN curl https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz | tar xzvf - && \ - cd Python-3.9.17 && \ +RUN curl https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz | tar xzvf - && \ + cd Python-3.9.7 && \ ./configure --enable-optimizations && \ make altinstall