From fdd25fe7528962ae013508ac0b206f43e8434153 Mon Sep 17 00:00:00 2001 From: Nils Lattek <470938+NilsLattek@users.noreply.github.com> Date: Sat, 8 Aug 2026 09:41:09 +0000 Subject: [PATCH 1/2] refactor: Change claude install method --- .devcontainer/devcontainer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 01aea56..ce729a0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,9 +6,9 @@ "service": "app", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", // Features to add to the dev container. More info: https://containers.dev/features. - "features": { - "ghcr.io/anthropics/devcontainer-features/claude-code:1": {} - }, + // "features": { + // "ghcr.io/anthropics/devcontainer-features/claude-code:1": {} + // }, "customizations": { "vscode": { "extensions": [ From a189d81f7c3c6952704cae90148f2561be5d7c81 Mon Sep 17 00:00:00 2001 From: Nils Lattek <470938+NilsLattek@users.noreply.github.com> Date: Sat, 8 Aug 2026 19:56:32 +0000 Subject: [PATCH 2/2] install cli --- .devcontainer/post-create.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh index 837c39c..693d310 100755 --- a/.devcontainer/post-create.sh +++ b/.devcontainer/post-create.sh @@ -3,6 +3,15 @@ # Keep steps idempotent so re-running on an existing container is safe. set -euo pipefail +# Install the Claude Code CLI via the official installer. Faster than the +# devcontainer feature, which pulls in Node.js first and tends to lag behind +# on the Claude Code version it installs. +curl -fsSL https://claude.ai/install.sh | bash +# The installer places the binary in ~/.local/bin and wires PATH into shell +# rc files, but this script runs non-interactively so those rc files are +# never sourced here. Add it to PATH now so `claude` below resolves. +export PATH="$HOME/.local/bin:$PATH" + # Install Claude Code plugins that project settings enable but a fresh container cannot fetch. # `.claude/settings.json` only *enables* plugins; the actual bits are cloned per machine, and a # fresh container starts with an empty ~/.claude plugin state.