Skip to content

Commit

Permalink
[GLUTEN-8487][VL] adding JDK17 based Centos8 image (#8513) (#8539)
Browse files Browse the repository at this point in the history
This patch added JDK17 based Centos 8 image
  • Loading branch information
zhouyuan authored Jan 15, 2025
1 parent 0b5a46a commit a96e0d2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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

13 changes: 13 additions & 0 deletions dev/docker/Dockerfile.centos8-dynamic-build-jdk17
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a96e0d2

Please sign in to comment.