Skip to content

ops(pre-commit): add terraform, mise and trivy to pre-commit image - #7

Merged
benbenbang merged 1 commit into
mainfrom
build/pre_commit_terraform_mise
Nov 6, 2026
Merged

benbenbang merged 1 commit into
mainfrom
build/pre_commit_terraform_mise

Conversation

@benbenbang

Copy link
Copy Markdown
Member

This change extends the pre-commit container with additional tooling and
bumps existing tool versions.

New tools:

  • Install Terraform (1.16.5), mise (v2026.11.3) and Trivy (0.75.0), each
    with architecture detection for amd64/arm64.
  • Add jq to the base package installation.

Version bumps:

  • Upgrade Go base image to 1.27-alpine and Rust to 1.98.0.
  • Bump pipx to 1.16.0, GitHub CLI to 2.96.0, uv to 0.11.29 and prek to
    0.4.10.

Build script hardening:

  • Wire the new build args through build_push.sh and quote all build-arg
    values, the Dockerfile path and the context to guard against word
    splitting.

This change extends the pre-commit container with additional tooling and
bumps existing tool versions.

**New tools:**
* Install Terraform (1.16.5), mise (v2026.11.3) and Trivy (0.75.0), each
  with architecture detection for amd64/arm64.
* Add `jq` to the base package installation.

**Version bumps:**
* Upgrade Go base image to 1.27-alpine and Rust to 1.98.0.
* Bump pipx to 1.16.0, GitHub CLI to 2.96.0, uv to 0.11.29 and prek to
  0.4.10.

**Build script hardening:**
* Wire the new build args through `build_push.sh` and quote all build-arg
  values, the Dockerfile path and the context to guard against word
  splitting.
@benbenbang
benbenbang enabled auto-merge (squash) November 6, 2026 19:39
@benbenbang
benbenbang disabled auto-merge November 6, 2026 19:40
@benbenbang
benbenbang merged commit d83dac5 into main Nov 6, 2026
5 checks passed
@benbenbang
benbenbang deleted the build/pre_commit_terraform_mise branch November 6, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant