Skip to content

fix(devcontainer): fix sandbox sudo hang and align with claude-code patterns - #48

Merged
gatezh merged 1 commit into
masterfrom
fix-local-dev
Mar 25, 2026
Merged

gatezh merged 1 commit into
masterfrom
fix-local-dev

Conversation

@gatezh

@gatezh gatezh commented Mar 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix sandbox hang: sandbox target only granted sudo for the firewall script, but postCreateCommand runs sudo chown — added NOPASSWD:ALL to match default target
  • Adopt claude-code Dockerfile patterns: parallel download stages for rtk/ralphex, apt/npm cache mounts, npm-global directory setup, SHELL pipefail, OCI labels
  • Fix sandbox theme: restore Claude Dark theme, correct statusBarItem.remote* color keys
  • Trim plugins: remove frontend-design, typescript-lsp, playwright, posthog from init-plugins.sh (not needed for this Dockerfile/YAML repo)

Test plan

  • Hadolint passes (warnings only, same profile as claude-code Dockerfile)
  • docker build --target default succeeds
  • docker build --target sandbox succeeds
  • Tool verification passes in both images (claude, fish, rtk, ralphex, delta, gh, sudo)

🤖 Generated with Claude Code

…atterns

- Add NOPASSWD:ALL to sandbox target (was firewall-only, blocking sudo chown)
- Use parallel download stages for rtk/ralphex (BuildKit concurrency)
- Add apt/npm cache mounts for faster rebuilds
- Add npm-global directory setup and SHELL pipefail
- Add OCI labels to both targets
- Fix sandbox theme config (restore Claude Dark, correct statusBarItem keys)
- Remove unused plugins from init-plugins.sh

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gatezh
gatezh merged commit f9ee88a into master Mar 25, 2026
8 checks passed
@gatezh
gatezh deleted the fix-local-dev branch March 26, 2026 01:00
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.

1 participant