Conversation
Multi-stage Dockerfile (cargo-chef caching, ubuntu:24.04 runtime) packages all 130+ POSIX utilities. CI workflow builds natively on amd64 + arm64 runners, pushes multi-arch manifest to ghcr.io on main/tags. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds containerization and CI publishing for posixutils-rs so the full workspace can be built into a multi-arch GHCR image suitable for running the project’s utilities in a minimal runtime container.
Changes:
- Add a multi-stage Dockerfile that builds all workspace binaries and installs them into an Ubuntu 24.04 runtime image.
- Add a docker-compose service for local interactive use of the container.
- Add a GitHub Actions workflow to build amd64/arm64 images and publish a multi-arch manifest to GHCR (non-PR events).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| Dockerfile | Multi-stage build using cargo-chef; copies all built binaries into a runtime image and sets up basic symlinks/user. |
| docker-compose.yml | Local compose entry to build/run the image interactively with the repo mounted read-only. |
| .github/workflows/container.yml | CI workflow to build per-arch images, upload digests, and merge into a multi-arch manifest with tags. |
| .dockerignore | Shrinks build context by excluding artifacts/VCS/IDE/CI/docs. |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multi-stage Dockerfile (cargo-chef caching, ubuntu:24.04 runtime) packages all 130+ POSIX utilities. CI workflow builds natively on amd64 + arm64 runners, pushes multi-arch manifest to ghcr.io on main/tags.