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 d12deaa641 [GLUTEN-8487][VL] adding JDK11 based Centos8 image (#8513)
d12deaa641 is described below
commit d12deaa6419c976409f23df0c69e7e10e823263a
Author: Yuan <[email protected]>
AuthorDate: Tue Jan 14 07:35:06 2025 +0800
[GLUTEN-8487][VL] adding JDK11 based Centos8 image (#8513)
This patch added JDK11 based Centos 8 image
---
.github/workflows/docker_image.yml | 12 ++++++++++--
dev/docker/Dockerfile.centos8-dynamic-build-jdk11 | 12 ++++++++++++
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/docker_image.yml
b/.github/workflows/docker_image.yml
index f6f0cd51b1..58b7549adb 100644
--- a/.github/workflows/docker_image.yml
+++ b/.github/workflows/docker_image.yml
@@ -69,10 +69,18 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push Docker image
+ - name: Build and push Docker image Centos8
uses: docker/build-push-action@v2
with:
context: .
file: dev/docker/Dockerfile.centos8-dynamic-build
push: true
- tags: apache/gluten:centos-8
+ tags: apache/gluten:centos-8 # JDK8 based
+
+ - name: Build and push Docker image Centos8 + JDK11
+ uses: docker/build-push-action@v2
+ with:
+ context: .
+ file: dev/docker/Dockerfile.centos8-dynamic-build-jdk11
+ push: true
+ tags: apache/gluten:centos-8-jdk11
diff --git a/dev/docker/Dockerfile.centos8-dynamic-build-jdk11
b/dev/docker/Dockerfile.centos8-dynamic-build-jdk11
new file mode 100644
index 0000000000..0c2d8cc0c6
--- /dev/null
+++ b/dev/docker/Dockerfile.centos8-dynamic-build-jdk11
@@ -0,0 +1,12 @@
+FROM apache/gluten:centos-8
+
+
+RUN yum install -y java-11-openjdk-devel patch wget git perl
+ENV JAVA_HOME=/usr/lib/jvm/java-11-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]