This is an automated email from the ASF dual-hosted git repository.

zhouyuan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 5da2e6e62c [CI] Allow customized repo/branch for all CI Docker images 
(#12839)
5da2e6e62c is described below

commit 5da2e6e62cb1f3b656df38db93533854621c294b
Author: Yuan <[email protected]>
AuthorDate: Fri Aug 21 21:11:11 2026 +0100

    [CI] Allow customized repo/branch for all CI Docker images (#12839)
---
 dev/docker/Dockerfile.almalinux8-gcc13-static-build | 5 ++++-
 dev/docker/Dockerfile.centos7-gcc13-static-build    | 5 ++++-
 dev/docker/Dockerfile.centos7-static-build          | 5 ++++-
 dev/docker/Dockerfile.centos8-dynamic-build         | 5 ++++-
 dev/docker/Dockerfile.centos8-gcc13-static-build    | 4 +++-
 dev/docker/Dockerfile.centos8-static-build          | 4 +++-
 dev/docker/Dockerfile.centos9-dynamic-build         | 5 ++++-
 dev/docker/Dockerfile.centos9-static-build          | 4 +++-
 8 files changed, 29 insertions(+), 8 deletions(-)

diff --git a/dev/docker/Dockerfile.almalinux8-gcc13-static-build 
b/dev/docker/Dockerfile.almalinux8-gcc13-static-build
index 52131c7b63..954d9403d9 100644
--- a/dev/docker/Dockerfile.almalinux8-gcc13-static-build
+++ b/dev/docker/Dockerfile.almalinux8-gcc13-static-build
@@ -25,6 +25,9 @@
 
 FROM almalinux:8
 
+ARG GLUTEN_REPO=https://github.com/apache/gluten
+ARG GLUTEN_BRANCH=main
+
 ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
 ENV PATH=$JAVA_HOME/bin:$PATH
 
@@ -50,7 +53,7 @@ RUN set -ex; \
     rm -f cmake-3.31.12-linux-$(uname -m).sh; \
     echo "check_certificate = off" >> ~/.wgetrc; \
     dnf clean all; \
-    git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
+    git clone --depth=1 --branch "${GLUTEN_BRANCH}" "${GLUTEN_REPO}" 
/opt/gluten; \
     mkdir -p ${VCPKG_PATH}; \
     echo "Build arrow, then install the native libs to system paths and jar 
package to .m2/ directory."; \
     if [ "$(uname -m)" = "aarch64" ]; then \
diff --git a/dev/docker/Dockerfile.centos7-gcc13-static-build 
b/dev/docker/Dockerfile.centos7-gcc13-static-build
index 600ce3f776..3083b96536 100644
--- a/dev/docker/Dockerfile.centos7-gcc13-static-build
+++ b/dev/docker/Dockerfile.centos7-gcc13-static-build
@@ -15,6 +15,9 @@
 
 FROM inteldpo/gluten:centos7_gcc13
 
+ARG GLUTEN_REPO=https://github.com/apache/gluten
+ARG GLUTEN_BRANCH=main
+
 ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
 ENV PATH=$JAVA_HOME/bin:$PATH
 
@@ -35,7 +38,7 @@ RUN set -ex; \
        -e 's/mirror\.centos\.org/vault.centos.org/' \
        /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo; \
     yum install -y git patch sudo java-1.8.0-openjdk-devel ccache curl; \
-    git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
+    git clone --depth=1 --branch "${GLUTEN_BRANCH}" "${GLUTEN_REPO}" 
/opt/gluten; \
     echo "check_certificate = off" >> ~/.wgetrc; \
     cd /opt/gluten; \
     bash ./dev/install-linux-socket-header.sh; \
diff --git a/dev/docker/Dockerfile.centos7-static-build 
b/dev/docker/Dockerfile.centos7-static-build
index 638f144e0b..923636961c 100644
--- a/dev/docker/Dockerfile.centos7-static-build
+++ b/dev/docker/Dockerfile.centos7-static-build
@@ -15,6 +15,9 @@
 
 FROM centos:7
 
+ARG GLUTEN_REPO=https://github.com/apache/gluten
+ARG GLUTEN_BRANCH=main
+
 ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
 ENV PATH=$JAVA_HOME/bin:$PATH
 
@@ -35,7 +38,7 @@ RUN set -ex; \
        -e 's/mirror\.centos\.org/vault.centos.org/' \
        /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo; \
     yum install -y git patch sudo java-1.8.0-openjdk-devel ccache; \
-    git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
+    git clone --depth=1 --branch "${GLUTEN_BRANCH}" "${GLUTEN_REPO}" 
/opt/gluten; \
     echo "check_certificate = off" >> ~/.wgetrc; \
     cd /opt/gluten && bash ./dev/vcpkg/setup-build-depends.sh; \
     mkdir -p ${VCPKG_PATH}; \
diff --git a/dev/docker/Dockerfile.centos8-dynamic-build 
b/dev/docker/Dockerfile.centos8-dynamic-build
index 59bae2a0cb..10ff0d823c 100644
--- a/dev/docker/Dockerfile.centos8-dynamic-build
+++ b/dev/docker/Dockerfile.centos8-dynamic-build
@@ -15,6 +15,9 @@
 
 FROM centos:8
 
+ARG GLUTEN_REPO=https://github.com/apache/gluten
+ARG GLUTEN_BRANCH=main
+
 ARG JAVA_VERSION=1.8.0
 #ARG JAVA_VERSION=11
 #ARG JAVA_VERSION=17
@@ -44,7 +47,7 @@ RUN set -ex; \
     wget -nv 
${mirror_host}/celeborn/celeborn-0.6.3/apache-celeborn-0.6.3-bin.tgz?action=download
 -O /opt/apache-celeborn-0.6.3-bin.tgz; \
     wget -nv 
${mirror_host}/uniffle/0.10.0/apache-uniffle-0.10.0-bin.tar.gz?action=download 
-O /opt/apache-uniffle-0.10.0-bin.tar.gz; \
     wget -nv 
${mirror_host}/hadoop/common/hadoop-2.10.2/hadoop-2.10.2.tar.gz?action=download 
-O /opt/hadoop-2.10.2.tar.gz; \
-    git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
+    git clone --depth=1 --branch "${GLUTEN_BRANCH}" "${GLUTEN_REPO}" 
/opt/gluten; \
     cd /opt/gluten/.github/workflows/util/; \
     ./install-spark-resources.sh 3.3; \
     ./install-spark-resources.sh 3.4; \
diff --git a/dev/docker/Dockerfile.centos8-gcc13-static-build 
b/dev/docker/Dockerfile.centos8-gcc13-static-build
index 37e609f64a..3d608dbe0c 100644
--- a/dev/docker/Dockerfile.centos8-gcc13-static-build
+++ b/dev/docker/Dockerfile.centos8-gcc13-static-build
@@ -15,6 +15,8 @@
 
 FROM inteldpo/gluten-ci-images:centos-8_gcc13
 
+ARG GLUTEN_REPO=https://github.com/apache/gluten
+ARG GLUTEN_BRANCH=main
 
 ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
 ENV PATH=$JAVA_HOME/bin:$PATH
@@ -35,7 +37,7 @@ RUN set -ex; \
     rm -f cmake-3.31.12-linux-$(uname -m).sh; \
     rpm -qa | grep tzdata; \
     dnf clean all; \
-    git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
+    git clone --depth=1 --branch "${GLUTEN_BRANCH}" "${GLUTEN_REPO}" 
/opt/gluten; \
     mkdir -p ${VCPKG_PATH}; \
     echo "Build arrow, then install the native libs to system paths and jar 
package to .m2/ directory."; \
     if [ "$(uname -m)" = "aarch64" ]; then \
diff --git a/dev/docker/Dockerfile.centos8-static-build 
b/dev/docker/Dockerfile.centos8-static-build
index d6e2d5ec1c..f689af54a9 100644
--- a/dev/docker/Dockerfile.centos8-static-build
+++ b/dev/docker/Dockerfile.centos8-static-build
@@ -15,6 +15,8 @@
 
 FROM centos:8
 
+ARG GLUTEN_REPO=https://github.com/apache/gluten
+ARG GLUTEN_BRANCH=main
 
 ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
 ENV PATH=$JAVA_HOME/bin:$PATH
@@ -34,7 +36,7 @@ RUN set -ex; \
     yum install -y java-1.8.0-openjdk-devel patch git perl; \
     rpm -qa | grep tzdata; \
     dnf clean all; \
-    git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
+    git clone --depth=1 --branch "${GLUTEN_BRANCH}" "${GLUTEN_REPO}" 
/opt/gluten; \
     cd /opt/gluten && bash ./dev/vcpkg/setup-build-depends.sh; \
     mkdir -p ${VCPKG_PATH}; \
     echo "Build arrow, then install the native libs to system paths and jar 
package to .m2/ directory."; \
diff --git a/dev/docker/Dockerfile.centos9-dynamic-build 
b/dev/docker/Dockerfile.centos9-dynamic-build
index 5991236203..7879395657 100644
--- a/dev/docker/Dockerfile.centos9-dynamic-build
+++ b/dev/docker/Dockerfile.centos9-dynamic-build
@@ -15,6 +15,9 @@
 
 FROM quay.io/centos/centos:stream9
 
+ARG GLUTEN_REPO=https://github.com/apache/gluten
+ARG GLUTEN_BRANCH=main
+
 ARG JAVA_VERSION=1.8.0
 #ARG JAVA_VERSION=11
 #ARG JAVA_VERSION=17
@@ -36,7 +39,7 @@ RUN set -ex; \
     mirror_host="https://www.apache.org/dyn/closer.lua";; \
     wget -nv 
${mirror_host}/celeborn/celeborn-0.5.4/apache-celeborn-0.5.4-bin.tgz?action=download
 -O /opt/apache-celeborn-0.5.4-bin.tgz; \
     wget -nv 
${mirror_host}/celeborn/celeborn-0.6.3/apache-celeborn-0.6.3-bin.tgz?action=download
 -O /opt/apache-celeborn-0.6.3-bin.tgz; \
-    git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
+    git clone --depth=1 --branch "${GLUTEN_BRANCH}" "${GLUTEN_REPO}" 
/opt/gluten; \
     cd /opt/gluten/.github/workflows/util/; \
     ./install-spark-resources.sh 3.3; \
     ./install-spark-resources.sh 3.4; \
diff --git a/dev/docker/Dockerfile.centos9-static-build 
b/dev/docker/Dockerfile.centos9-static-build
index c83c99a465..b8581cbe65 100644
--- a/dev/docker/Dockerfile.centos9-static-build
+++ b/dev/docker/Dockerfile.centos9-static-build
@@ -15,6 +15,8 @@
 
 FROM quay.io/centos/centos:stream9
 
+ARG GLUTEN_REPO=https://github.com/apache/gluten
+ARG GLUTEN_BRANCH=main
 
 ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
 ENV PATH=$JAVA_HOME/bin:$PATH
@@ -30,7 +32,7 @@ RUN set -ex; \
     echo "check_certificate = off" >> ~/.wgetrc; \
     yum install -y java-17-openjdk-devel patch git perl; \
     dnf clean all; \
-    git clone --depth=1 https://github.com/apache/gluten /opt/gluten; \
+    git clone --depth=1 --branch "${GLUTEN_BRANCH}" "${GLUTEN_REPO}" 
/opt/gluten; \
     cd /opt/gluten && bash ./dev/vcpkg/setup-build-depends.sh; \
     mkdir -p ${VCPKG_PATH}; \
     echo "Build arrow, then install the native libs to system paths and jar 
package to .m2/ directory."; \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to