Skip to content

[GLUTEN-12412][VL] Add AlmaLinux 8 vcpkg static build CI image - #12757

Open
KushShriv wants to merge 2 commits into
apache:mainfrom
KushShriv:VL-almalinux8-static-build-ci-image
Open

[GLUTEN-12412][VL] Add AlmaLinux 8 vcpkg static build CI image#12757
KushShriv wants to merge 2 commits into
apache:mainfrom
KushShriv:VL-almalinux8-static-build-ci-image

Conversation

@KushShriv

Copy link
Copy Markdown

What changes are proposed in this pull request?

Fixes #12412 (1)

CentOS 7 (glibc 2.17) is increasingly difficult to maintain as a vcpkg build base due to Velox's growing dependency on modern Folly/FBThrift/MVFST versions. This PR adds the AlmaLinux 8 (glibc 2.28) Docker image — a 1:1 RHEL 8-compatible rebuild of the EOL CentOS 8 — as the new vcpkg static build base, in preparation for migrating the x86/arm native lib CI jobs.

Add AlmaLinux 8 vcpkg static build CI image:

  • Add dev/docker/Dockerfile.almalinux8-gcc13-static-build to produce apache/gluten:vcpkg-almalinux-8-gcc13, modelled on the existing Dockerfile.centos7-gcc13-static-build.
    Uses FROM almalinux:8 (live repos, no mirror fixups needed) with GCC 13 via gcc-toolset-13 and a pinned CMake 3.31.12.
  • Add dev/ci-velox-buildstatic-centos-8-enhanced-features.sh — the CentOS 8 equivalent of the existing ci-velox-buildstatic-centos-7-enhanced-features.sh, omitting the socket.h workaround required on CentOS 7.
  • Add build-vcpkg-almalinux-8-gcc13 and merge-almalinux-8-gcc13 jobs to docker_image.yml to build and publish the multi-arch image.

How was this patch tested?

The Dockerfile.almalinux8-gcc13-static-build follows the same structure as the existing Dockerfile.centos8-gcc13-static-build. The docker_image.yml workflow will publish the image to Docker Hub on merge.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Sonnet 4.5

Generated-by: Claude claude-sonnet-4-5
@zhouyuan

Copy link
Copy Markdown
Member

@KushShriv we also need to add a entry for almalinux here:
https://github.com/apache/gluten/blob/main/ep/build-velox/src/get-velox.sh#L165

AlmaLinux 8 (VERSION_ID=8.10) was hitting the unsupported-version exit
in setup_linux because only version 9 was handled for the almalinux
distro branch. The vcpkg static-build Dockerfile pre-installs all
required tools, so no setup-centos8.sh patching is needed — a no-op
case entry matching version 8 is sufficient, identical to how version 9
is handled.

Generated-by: Claude claude-sonnet-4-6
@github-actions github-actions Bot added the VELOX label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[VL] Migrate to use AlmaLinux8 in CI

2 participants