Skip to content
Closed
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
9 changes: 9 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Gluten dev container",
"image": "apache/gluten:centos-8-dev",
"containerEnv": {
"https_proxy": "${localEnv:https_proxy}",
"http_proxy": "${localEnv:http_proxy}",
"no_proxy": "${localEnv:no_proxy}"
}
}
25 changes: 25 additions & 0 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
- '.github/workflows/docker_image.yml'
- 'dev/docker/Dockerfile.centos7-static-build'
- 'dev/docker/Dockerfile.centos8-dynamic-build'
- 'dev/docker/Dockerfile.centos8-dynamic-build-dev'
- 'dev/docker/Dockerfile.centos8-dynamic-build-jdk11'
- 'dev/docker/Dockerfile.centos8-dynamic-build-jdk17'
schedule:
Expand Down Expand Up @@ -95,3 +96,27 @@ jobs:
push: true
tags: apache/gluten:centos-8-jdk17

build-centos-8-dev:
if: ${{ startsWith(github.repository, 'apache/') }}
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image Centos8
uses: docker/build-push-action@v2
with:
context: .
file: dev/docker/Dockerfile.centos8-dynamic-build-dev
push: true
tags: apache/gluten:centos-8-dev # JDK8 based
5 changes: 5 additions & 0 deletions dev/docker/Dockerfile.centos8-dynamic-build-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM apache/gluten:centos-8

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/ci-velox-buildshared-centos-8.sh && rm -rf /opt/gluten