anthropics / anthropics/devcontainer-features

Allow me to install Claude Code locally for devcontainer

オープン
#20 コメント 0 件 リアクション 10 件 担当者 0 名 GitHub で見る
主要言語
Shell
スター
303
フォーク
60
PR マージ指標
30日以内にマージされた PR はありません

説明

I run my devcontainers as the vscode user to minimize blast radius of Claude Code in the devcontainer.

Because of this, the auto update fails to work because claude code is installed globally so the vscode user does not have permissions to update it.

There is a /migrate-installer command that will fix this but if I rebuild the container because of a change, I go back to the old install location and the updater is broken again.

Fix:
Add a `"installAsUser": true` that installs claude code into the same location that /migrate-installer does.

Thanks!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。