Skip to content

feat: add yq to all images#36

Merged
marc0olo merged 1 commit into
mainfrom
feat/add-yq
Jun 12, 2026
Merged

feat: add yq to all images#36
marc0olo merged 1 commit into
mainfrom
feat/add-yq

Conversation

@raymondk

Copy link
Copy Markdown
Contributor

Summary

  • Adds mikefarah/yq 4.53.3 to the motoko, rust, and all images, pinned via ARG like the other tools
  • Installed as a static binary from GitHub releases, with the architecture resolved via dpkg --print-architecture so both linux/amd64 and linux/arm64 builds work
  • The downloaded binary is verified against per-arch sha256 checksums (cross-checked against the checksums file published with the upstream release); the build fails on mismatch or unknown architecture
  • Adds yq to the tool tables in the README

The Go-based mikefarah/yq is used rather than Debian's apt yq package, since the apt version is a Python jq-wrapper with incompatible syntax and can't be version-pinned.

Testing

  • Built motoko/Dockerfile locally: checksum step reports /usr/local/bin/yq: OK, yq --version reports v4.53.3, and a YAML query returns the expected value
  • Verified both release assets exist and their checksums match the official checksums file for v4.53.3

🤖 Generated with Claude Code

Installs mikefarah/yq 4.53.3 as a pinned static binary in the motoko,
rust, and all images, alongside the existing jq. The download is
verified against per-arch sha256 checksums from the upstream release.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@marc0olo
marc0olo self-requested a review June 12, 2026 07:11
@marc0olo
marc0olo merged commit c2f9290 into main Jun 12, 2026
5 checks passed
@marc0olo
marc0olo deleted the feat/add-yq branch June 12, 2026 07:11
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.

2 participants