Skip to content

Add rocky10 Docker containers#1676

Open
leborchuk wants to merge 2 commits intoapache:mainfrom
leborchuk:AddRocky10
Open

Add rocky10 Docker containers#1676
leborchuk wants to merge 2 commits intoapache:mainfrom
leborchuk:AddRocky10

Conversation

@leborchuk
Copy link
Copy Markdown
Contributor

@leborchuk leborchuk commented Apr 13, 2026

Changes:

  • Add Rocky10 build container (Dockerfile, configs, TestInfra tests, requirements).
  • Add Rocky10 test container (Dockerfile and runtime init/configs).
  • Update GitHub Actions workflows and RAT exclusions to include the Rocky10 paths.

This is the copy or Rocky9 containers.

What I've changed comparing to Rocky9:

  • Get rid here of packages not available right now under Rocky10 repositories (for example rocky-release-hpc)

  • Move to the Java 21, it's now default for Rocky linux 10

@leborchuk leborchuk marked this pull request as ready for review April 13, 2026 13:06
@leborchuk leborchuk requested review from Copilot and tuhaihe and removed request for Copilot April 13, 2026 13:06
@leborchuk leborchuk mentioned this pull request Apr 13, 2026
12 tasks
@tuhaihe
Copy link
Copy Markdown
Member

tuhaihe commented Apr 14, 2026

Will review it later. Thanks!

@tuhaihe
Copy link
Copy Markdown
Member

tuhaihe commented Apr 21, 2026

Hi, I've opened an issue regarding the container workflow: #1687. This appears to be a common limitation within the ASF, and I'll address it as soon as possible.

Comment thread devops/deploy/docker/build/rocky10/Dockerfile Outdated
Comment thread devops/deploy/docker/build/rocky10/Dockerfile
Comment thread devops/deploy/docker/build/rocky10/Dockerfile Outdated
Copilot AI review requested due to automatic review settings April 22, 2026 13:58
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Rocky Linux 10 Docker build/test container definitions (based on Rocky9) and wires them into CI so images are built and validated.

Changes:

  • Add Rocky10 build container (Dockerfile, configs, TestInfra tests, requirements).
  • Add Rocky10 test container (Dockerfile and runtime init/configs).
  • Update GitHub Actions workflows and RAT exclusions to include the Rocky10 paths.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
pom.xml Excludes Rocky10 test requirements file from RAT checks.
devops/deploy/docker/test/rocky10/Dockerfile New Rocky10 “test environment” container image definition.
devops/deploy/docker/test/rocky10/configs/init_system.sh Container init script for Rocky10 test environment (SSH, dirs, banner).
devops/deploy/docker/test/rocky10/configs/gpinitsystem.conf gpinitsystem config for initializing a demo cluster in the test container.
devops/deploy/docker/test/rocky10/configs/90-cbdb-limits Adds limits configuration for gpadmin in Rocky10 test container.
devops/deploy/docker/build/rocky10/Dockerfile New Rocky10 “build environment” container image definition incl. xerces + Go install.
devops/deploy/docker/build/rocky10/configs/init_system.sh Container init script for Rocky10 build environment (SSH, banner).
devops/deploy/docker/build/rocky10/configs/gpinitsystem.conf gpinitsystem config included with Rocky10 build image.
devops/deploy/docker/build/rocky10/configs/90-cbdb-limits Adds limits configuration for gpadmin in Rocky10 build container.
devops/deploy/docker/build/rocky10/tests/testinfra/test_cloudberry_db_env.py TestInfra validation for Rocky10 build image packages and basic config.
devops/deploy/docker/build/rocky10/tests/requirements.txt Python test dependencies list for Rocky10 build image tests.
.github/workflows/docker-cbdb-test-containers.yml Adds rocky10 to matrix and path filters for test containers.
.github/workflows/docker-cbdb-build-containers.yml Adds rocky10 to matrix and path filters for build containers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread devops/deploy/docker/build/rocky10/Dockerfile
Comment thread devops/deploy/docker/build/rocky10/Dockerfile Outdated
Comment thread devops/deploy/docker/test/rocky10/Dockerfile Outdated
Comment thread devops/deploy/docker/build/rocky10/Dockerfile
Comment thread devops/deploy/docker/test/rocky10/configs/gpinitsystem.conf Outdated
Comment thread pom.xml Outdated
Comment thread devops/deploy/docker/build/rocky10/Dockerfile
@leborchuk leborchuk marked this pull request as draft April 23, 2026 09:18
This is the copy or Rocky9 containers.

Changes comparing to Rocky9:

- Get rid here of packages not available right now under Rocky10 repositories (for example rocky-release-hpc)
- Move to the Java 21, it's default to Rocky Linux 10
@leborchuk leborchuk marked this pull request as ready for review April 23, 2026 10:11
@leborchuk leborchuk requested review from ostinru and tuhaihe April 23, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants