From 2fe092ef20361b4e1e26e8a56ab78c5a28a6e530 Mon Sep 17 00:00:00 2001 From: Aryan Rajoria <57455619+aryan-rajoria@users.noreply.github.com> Date: Sun, 7 Jul 2024 18:19:31 -0400 Subject: [PATCH] Fix: change PYTHON_CMD to python3.12 in all docker files (#1220) * change PYTHON_CMD to python3.12 in all docker files Signed-off-by: Aryan Rajoria * adding /usr/bin Signed-off-by: Aryan Rajoria * python version error fixed in all docker files Signed-off-by: Aryan Rajoria --------- Signed-off-by: Aryan Rajoria --- ci/Dockerfile | 3 ++- ci/Dockerfile-bun | 3 ++- ci/Dockerfile-deno | 3 ++- ci/Dockerfile-ppc64 | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index 01b7a0b2c..a8a6c684f 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -34,7 +34,8 @@ ENV GOPATH=/opt/app-root/go \ MAVEN_HOME="/opt/maven/${MAVEN_VERSION}" \ GRADLE_HOME="/opt/gradle/${GRADLE_VERSION}" \ SBT_HOME="/opt/sbt/${SBT_VERSION}" \ - PYTHON_CMD=python3 \ + PYTHON_VERSION=3.12 \ + PYTHON_CMD=/usr/bin/python${PYTHON_VERSION} \ PYTHONUNBUFFERED=1 \ PYTHONIOENCODING="utf-8" \ COMPOSER_ALLOW_SUPERUSER=1 \ diff --git a/ci/Dockerfile-bun b/ci/Dockerfile-bun index c7dc968cf..6e7c85068 100644 --- a/ci/Dockerfile-bun +++ b/ci/Dockerfile-bun @@ -33,7 +33,8 @@ ENV GOPATH=/opt/app-root/go \ MAVEN_HOME="/opt/maven/${MAVEN_VERSION}" \ GRADLE_HOME="/opt/gradle/${GRADLE_VERSION}" \ SBT_HOME="/opt/sbt/${SBT_VERSION}" \ - PYTHON_CMD=python3 \ + PYTHON_VERSION=3.12 \ + PYTHON_CMD=/usr/bin/python${PYTHON_VERSION} \ PYTHONUNBUFFERED=1 \ PYTHONIOENCODING="utf-8" \ COMPOSER_ALLOW_SUPERUSER=1 \ diff --git a/ci/Dockerfile-deno b/ci/Dockerfile-deno index a182dd4f6..676f4b04c 100644 --- a/ci/Dockerfile-deno +++ b/ci/Dockerfile-deno @@ -33,7 +33,8 @@ ENV GOPATH=/opt/app-root/go \ MAVEN_HOME="/opt/maven/${MAVEN_VERSION}" \ GRADLE_HOME="/opt/gradle/${GRADLE_VERSION}" \ SBT_HOME="/opt/sbt/${SBT_VERSION}" \ - PYTHON_CMD=python3 \ + PYTHON_VERSION=3.12 \ + PYTHON_CMD=/usr/bin/python${PYTHON_VERSION} \ PYTHONUNBUFFERED=1 \ PYTHONIOENCODING="utf-8" \ COMPOSER_ALLOW_SUPERUSER=1 \ diff --git a/ci/Dockerfile-ppc64 b/ci/Dockerfile-ppc64 index 8c9e6055c..c679121b3 100644 --- a/ci/Dockerfile-ppc64 +++ b/ci/Dockerfile-ppc64 @@ -25,7 +25,8 @@ ENV GOPATH=/opt/app-root/go \ MAVEN_HOME="/opt/maven/${MAVEN_VERSION}" \ GRADLE_HOME="/opt/gradle/${GRADLE_VERSION}" \ SBT_HOME="/opt/sbt/${SBT_VERSION}" \ - PYTHON_CMD=python3 \ + PYTHON_VERSION=3.12 \ + PYTHON_CMD=/usr/bin/python${PYTHON_VERSION} \ PYTHONUNBUFFERED=1 \ PYTHONIOENCODING="utf-8" \ COMPOSER_ALLOW_SUPERUSER=1 \