Skip to content

Conversation

@hzpz
Copy link
Collaborator

@hzpz hzpz commented Jan 13, 2026

Fixes #29 (sorry, I didn't realize, that there was no PR for this yet)

Create a wrapper script at /usr/local/bin/claude that sources the NVM environment before executing the real claude binary. This makes the claude command available on the default system PATH without requiring shell initialization, which is required for Docker Sandboxes.

The wrapper script:

  • Sources NVM to make node/npm available
  • Executes the real claude binary with all arguments
  • Works even when container starts without shell initialization

Create symlinks for node and claude in /usr/local/bin/ so they are
available on PATH without shell initialization. Also create the
lock directory required by Docker Sandboxes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

Feature request: Make the Docker image work with Docker Sandboxes

1 participant