Skip to content

Add per-distro Dockerfiles for ci-containers job#738

Merged
pepone merged 3 commits intozeroc-ice:mainfrom
pepone:ci-containers-dockerfiles
Feb 19, 2026
Merged

Add per-distro Dockerfiles for ci-containers job#738
pepone merged 3 commits intozeroc-ice:mainfrom
pepone:ci-containers-dockerfiles

Conversation

@pepone
Copy link
Copy Markdown
Member

@pepone pepone commented Feb 16, 2026

Summary

  • Expand CI container testing from 2 images (Amazon Linux 2023, Rocky 10) to all 7 supported distros: Ubuntu 22.04/24.04, Debian 12/13, Rocky 9/10, Amazon Linux 2023
  • Add per-distro Dockerfiles under docker/, matching the 3.7 branch structure
  • Switch ci-containers job from container: directive to docker build + docker run approach

Test plan

  • Verify all 7 container jobs pass in CI
  • Confirm Docker images build correctly for each distro
  • Confirm C++ demos compile successfully in each container

🤖 Generated with Claude Code

Expand CI container testing from 2 images (Amazon Linux 2023, Rocky 10) to
all 7 supported distros (Ubuntu 22.04/24.04, Debian 12/13, Rocky 9/10,
Amazon Linux 2023), matching the 3.7 branch coverage. Each distro gets its
own Dockerfile under docker/ and the ci-containers job now builds and runs
them via docker build/run instead of using the container: directive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 16, 2026 17:39
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

This PR expands CI container testing from 2 distributions to all 7 supported Linux distributions by introducing per-distro Dockerfiles and refactoring the CI workflow to use explicit Docker build/run commands instead of GitHub Actions' container directive.

Changes:

  • Added Dockerfiles for Ubuntu 22.04, Ubuntu 24.04, Debian 12, Debian 13, Rocky 9, Rocky 10, and Amazon Linux 2023
  • Refactored .github/workflows/ci.yml to build Docker images explicitly and run tests inside containers
  • Replaced inline dependency installation logic with pre-built Docker images

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docker/ubuntu24.04/Dockerfile Ubuntu 24.04 container with Ice development dependencies
docker/ubuntu22.04/Dockerfile Ubuntu 22.04 container with Ice development dependencies
docker/rocky9/Dockerfile Rocky Linux 9 container with Ice development dependencies
docker/rocky10/Dockerfile Rocky Linux 10 container with Ice development dependencies
docker/debian13/Dockerfile Debian 13 (Trixie) container with Ice development dependencies
docker/debian12/Dockerfile Debian 12 (Bookworm) container with Ice development dependencies
docker/amzn2023/Dockerfile Amazon Linux 2023 container with Ice development dependencies
.github/workflows/ci.yml Refactored CI job to use Docker build/run instead of container directive

Ubuntu 22.04 is not a supported distro for Ice 3.8.
@pepone pepone requested a review from externl February 19, 2026 15:39
@pepone
Copy link
Copy Markdown
Member Author

pepone commented Feb 19, 2026

Windows failure is unrelated to this PR, see zeroc-ice/ice#5158

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This location doesn't seem like a great spot/directory name to me for the these C++ nightly docker files.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

maybe .github/workflows/docker or do you have other suggestions? Note that is what we used for 3.7 too.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

How about .github/docker?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sounds good, I will move them.

@pepone pepone requested a review from externl February 19, 2026 17:56
@pepone pepone merged commit 171ff86 into zeroc-ice:main Feb 19, 2026
20 of 21 checks passed
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.

3 participants