From 13378d7c4f6dadb8b15e30250def41f88271e573 Mon Sep 17 00:00:00 2001 From: EricX-Zhao Date: Tue, 12 May 2026 10:47:53 +0300 Subject: [PATCH] Refactor VIO dev container configuration: move Claude mounts to vio.yaml and update volume definitions --- devcontainer/vio/devcontainer.json | 5 ----- devcontainer/vio/vio.yaml | 7 ++++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/devcontainer/vio/devcontainer.json b/devcontainer/vio/devcontainer.json index 32623b9..840aeb7 100644 --- a/devcontainer/vio/devcontainer.json +++ b/devcontainer/vio/devcontainer.json @@ -14,11 +14,6 @@ "no_proxy": "localhost,127.0.0.1" }, - "mounts": [ - "source=${localEnv:HOME}/.claude,target=/root/.claude,type=bind,consistency=cached", - "source=${localEnv:HOME}/.claude.json,target=/root/.claude.json,type=bind,consistency=cached" - ], - "customizations": { "vscode": { "extensions": [ diff --git a/devcontainer/vio/vio.yaml b/devcontainer/vio/vio.yaml index 6906d2b..edf843f 100644 --- a/devcontainer/vio/vio.yaml +++ b/devcontainer/vio/vio.yaml @@ -11,10 +11,15 @@ services: - ${WORKSPACE}:/workspace - ${DATASET}:/dataset - ${DATASET_EXT}:/dataset_ext + - claude-code-global:/root/.claude vio-dev-rk3588: extends: file: ../common.yaml service: rk3588-dev-base container_name: vio-dev-rk3588 volumes: - - ${WORKSPACE}:/workspace \ No newline at end of file + - ${WORKSPACE}:/workspace + +volumes: + claude-code-global: + external: true \ No newline at end of file