You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pin Alpine, run bash as non-root and move CI to GitHub Actions - #6
Pins Alpine by digest, makes bash the default command for a non-root user, adds a smoke test for the GNU tools, and publishes signed multi-arch images to GHCR.
The repository adds a digest-pinned Alpine-based Bash image with a non-root runtime and smoke checks. It adds GitHub Actions build automation, removes the Azure pipeline, and updates image usage and verification documentation.
Changes: Container Image
Layer / File(s)
Summary
Define and validate the image Dockerfile, .dockerignore, .gitattributes, .hadolint.yaml, CONTRIBUTING.md, tests/smoke.sh
The Dockerfile pins Alpine by version and digest, installs the tool set, and runs Bash as UID and GID 10001 from /work. Repository settings and guidance are updated, and the smoke script checks runtime identity, tool versions, the default shell, and command features.
A GitHub Actions workflow calls a reusable container-image workflow on configured events. Dependabot checks Docker and GitHub Actions weekly. The Azure pipeline is removed.
Document image use README.md
The README documents the GHCR image, tags, usage, mounted-directory permissions, verification commands, local testing, support policy, and license.
Merge Risk: Moderate · up to 0ecd2
The new publish workflow can release an image whose packages were never smoke-tested or vulnerability-scanned, because it rebuilds after verification. The README also promises immutable SHA tags that the publisher does not enforce. Address the publish-path gap, or explicitly accept it, before relying on the weekly refreshed images. Correct the README wording and pin the shared workflow to a commit.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
I’m a rabbit; the new image is pinned tight, Bash and its tools are packed just right. I hop through smoke checks, rootless and spry, Then read how to build and verify. Fresh tags await; I twitch my nose, And nibble the docs before I doze.
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
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.
Pins Alpine by digest, makes bash the default command for a non-root user, adds a smoke test for the GNU tools, and publishes signed multi-arch images to GHCR.