Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Comment thread
JkSelf marked this conversation as resolved.