Use this prompt with Claude Code to update all tool versions in the Dockerfile to their latest releases.
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.
When updating, watch for these patterns:
# 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# 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# 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# URL pattern: setup_MAJOR.x
curl -fsSL https://deb.nodesource.com/setup_24.x | bash -# 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 -# 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# Must match Zig major.minor version
curl -LO https://github.com/zigtools/zls/releases/download/0.15.1/zls-x86_64-linux.tar.xzAfter 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
'| 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 |