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

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


The following commit(s) were added to refs/heads/main by this push:
     new a96e0d2c64 [GLUTEN-8487][VL] adding JDK17 based Centos8 image (#8513) 
(#8539)
a96e0d2c64 is described below

commit a96e0d2c644be8b211f3ef09b2c9610724a6daa4
Author: Yuan <[email protected]>
AuthorDate: Wed Jan 15 11:18:00 2025 +0800

    [GLUTEN-8487][VL] adding JDK17 based Centos8 image (#8513) (#8539)
    
    This patch added JDK17 based Centos 8 image
---
 .github/workflows/docker_image.yml                | 11 +++++++++++
 dev/docker/Dockerfile.centos8-dynamic-build-jdk17 | 13 +++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/.github/workflows/docker_image.yml 
b/.github/workflows/docker_image.yml
index 58b7549adb..727dc3cd05 100644
--- a/.github/workflows/docker_image.yml
+++ b/.github/workflows/docker_image.yml
@@ -23,6 +23,8 @@ on:
       - '.github/workflows/docker_image.yml'
       - 'dev/docker/Dockerfile.centos7-static-build'
       - 'dev/docker/Dockerfile.centos8-dynamic-build'
+      - 'dev/docker/Dockerfile.centos8-dynamic-build-jdk11'
+      - 'dev/docker/Dockerfile.centos8-dynamic-build-jdk17'
   schedule:
     - cron: '0 20 * * 0'
 
@@ -84,3 +86,12 @@ jobs:
           file: dev/docker/Dockerfile.centos8-dynamic-build-jdk11
           push: true
           tags: apache/gluten:centos-8-jdk11
+
+      - name: Build and push Docker image Centos8 + JDK17
+        uses: docker/build-push-action@v2
+        with:
+          context: .
+          file: dev/docker/Dockerfile.centos8-dynamic-build-jdk17
+          push: true
+          tags: apache/gluten:centos-8-jdk17
+
diff --git a/dev/docker/Dockerfile.centos8-dynamic-build-jdk17 
b/dev/docker/Dockerfile.centos8-dynamic-build-jdk17
new file mode 100644
index 0000000000..e6817a8d60
--- /dev/null
+++ b/dev/docker/Dockerfile.centos8-dynamic-build-jdk17
@@ -0,0 +1,13 @@
+FROM apache/gluten:centos-8
+
+
+RUN yum install -y java-17-openjdk-devel patch wget git perl
+ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
+ENV PATH=$JAVA_HOME/bin:$PATH
+
+ENV PATH=${PATH}:/usr/lib/maven/bin
+
+RUN git clone --depth=1 https://github.com/apache/incubator-gluten /opt/gluten
+
+RUN cd /opt/gluten && source /opt/rh/gcc-toolset-11/enable && 
./dev/builddeps-veloxbe.sh --run_setup_script=ON build_arrow && rm -rf 
/opt/gluten
+


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

Reply via email to