surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
When launching dev containers via scripts (not through VS Code), remoteEnv does not properly set environment variables. This causes NODE_OPTIONS, CLAUDE_CONFIG_DIR, and POWERLEVEL9K_DISABLE_GITSTATUS to be undefined. Changed remoteEnv to containerEnv to ensure environment variables are correctly set regardless of how the container is launched. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
| @@ -41,7 +41,7 @@ | ||
| 41 | 41 | "source=claude-code-bashhistory-${devcontainerId},target=/commandhistory,type=volume", |
| 42 | 42 | "source=claude-code-config-${devcontainerId},target=/home/node/.claude,type=volume" |
| 43 | 43 | ], |
| 44 | - "remoteEnv": { | |
| 44 | + "containerEnv": { | |
| 45 | 45 | "NODE_OPTIONS": "--max-old-space-size=4096", |
| 46 | 46 | "CLAUDE_CONFIG_DIR": "/home/node/.claude", |
| 47 | 47 | "POWERLEVEL9K_DISABLE_GITSTATUS": "true" |