Repository navigation
feat(infra): install shellcheck v0.10.0 in the sandbox image - #197
Merged
Merged
Conversation
There was a problem hiding this comment.
Runs that lint shell scripts find shellcheck on PATH. The release archive for the build architecture is verified by SHA-256 before only the binary is extracted; xz-utils joins the build-tools packages to unpack it. The layer sits behind WITH_BUILD_TOOLS, so the lean image is unchanged.
debuggingfuture
force-pushed
the
feat/sandbox-shellcheck
branch
from
October 19, 2026 10:19
bb4d576 to
92e724a
Compare
Member
Author
|
The ShellCheck archive digests match the published v0.10.0 release values. The The version build argument remains paired with fixed digests by design: changing the version alone fails the checksum gate. |
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.
Runs that lint shell scripts find
shellcheckv0.10.0 on PATH in the sandbox image.infra/Dockerfile.sandbox-demogains a layer behindWITH_BUILD_TOOLSthat downloads the upstream release archive for the build architecture (x86_64oraarch64), verifies it withsha256sum -cagainst a pinned SHA-256, extracts only theshellcheckbinary to/usr/local/bin, and removes the archive in the same layer. Any other architecture fails the build.xz-utilsjoins the build-tools package list; the base image ships noxzto unpack the.tar.xzarchive.WITH_BUILD_TOOLS=falsethe image is unchanged.Validation:
docker build --check -f infra/Dockerfile.sandbox-demo .parses clean; its one warning (InvalidBaseImagePlatform) is on the existing baseFROMwhen checked from an arm64 host.linux/amd64withWITH_BUILD_TOOLS=truepasses the checksum (OK) and printsversion: 0.10.0.