Skip to content

Latest commit

 

History

History
130 lines (107 loc) · 3.37 KB

File metadata and controls

130 lines (107 loc) · 3.37 KB

Updating Tool Versions

Use this prompt with Claude Code to update all tool versions in the Dockerfile to their latest releases.

Update Prompt

Research the latest stable versions for all tools in the Dockerfile and update them:

1. **Node.js** - Check nodejs.org for current LTS version
2. **Go** - Check go.dev/dl for latest stable
3. **Zig** - Check ziglang.org/download for latest stable
4. **zls** - Must match Zig version, check github.com/zigtools/zls/releases
5. **ripgrep** - Check github.com/BurntSushi/ripgrep/releases
6. **fd** - Check github.com/sharkdp/fd/releases
7. **bat** - Check github.com/sharkdp/bat/releases
8. **yq** - Using /latest redirect, verify it works
9. **Bun** - Using install script, always gets latest

Update the Dockerfile with correct:
- Version numbers in URLs
- Extracted directory names (they include version)
- Any changed URL patterns

Also update README.md version references.

Manual Version Check URLs

Tool Check URL
Node.js LTS https://nodejs.org/en/about/previous-releases
Go https://go.dev/dl/
Zig https://ziglang.org/download/
zls https://github.com/zigtools/zls/releases
ripgrep https://github.com/BurntSushi/ripgrep/releases
fd https://github.com/sharkdp/fd/releases
bat https://github.com/sharkdp/bat/releases
yq https://github.com/mikefarah/yq/releases
Bun https://github.com/oven-sh/bun/releases
Ubuntu https://hub.docker.com/_/ubuntu/tags

Version Patterns in Dockerfile

When updating, watch for these patterns:

ripgrep

# URL pattern: /download/VERSION/ripgrep_VERSION-1_amd64.deb
curl -LO https://github.com/BurntSushi/ripgrep/releases/download/15.1.0/ripgrep_15.1.0-1_amd64.deb

fd

# URL pattern: /download/vVERSION/fd_VERSION_amd64.deb
curl -LO https://github.com/sharkdp/fd/releases/download/v10.3.0/fd_10.3.0_amd64.deb

bat

# URL pattern: /download/vVERSION/bat_VERSION_amd64.deb
curl -LO https://github.com/sharkdp/bat/releases/download/v0.26.1/bat_0.26.1_amd64.deb

Node.js

# URL pattern: setup_MAJOR.x
curl -fsSL https://deb.nodesource.com/setup_24.x | bash -

Go

# URL pattern: goVERSION.linux-amd64.tar.gz
ARG GO_VERSION=1.25.7
curl -fsSL https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz | tar -C /usr/local -xzf -

Zig

# URL pattern includes version in both URL and extracted dir name
curl -LO https://ziglang.org/download/0.15.2/zig-x86_64-linux-0.15.2.tar.xz
tar -xf zig-x86_64-linux-0.15.2.tar.xz
mv zig-x86_64-linux-0.15.2 /opt/zig

zls

# Must match Zig major.minor version
curl -LO https://github.com/zigtools/zls/releases/download/0.15.1/zls-x86_64-linux.tar.xz

Verification After Update

After updating, build and verify:

# Rebuild image
docker build --no-cache -t claude-sandbox .

# Verify versions
docker run --rm claude-sandbox bash -c '
echo "=== Versions ==="
node --version
go version
bun --version
rustc --version
zig version
zls --version
rg --version
fd --version
bat --version
yq --version
'

Current Versions (as of February 2026)

Tool Version
Ubuntu 24.04 LTS
Node.js 24.x LTS (Krypton)
Go 1.25.7
Bun ~1.3.x
Rust stable
Zig 0.15.2
zls 0.15.1
ripgrep 15.1.0
fd 10.3.0
bat 0.26.1
yq 4.52.x