dev_container: Fix vscode integration

Fix permission issue when dev container is launched in vscode.
see: crrev/c/3855471/comments/3ee66fdb_46268f20

TEST=dev container from vscode can rust analyzer

Change-Id: Ia5e8f213bf7ab8e5826dca21a6ef3846ff841b92
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3884301
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Zihan Chen <zihanchen@google.com>
This commit is contained in:
Zihan Chen 2022-09-08 19:29:20 +00:00 committed by crosvm LUCI
parent 8ab7d9b715
commit 94de30aea3

View file

@ -19,6 +19,6 @@
"--mount=type=tmpfs,destination=/var/empty",
],
"containerUser": "crosvmdev",
"updateContentCommand": "sudo chown -R --reference=/workspaces/crosvm /home/crosvmdev",
"updateContentCommand": "sudo chown -R --reference=/workspaces/crosvm /home/crosvmdev /cache /scratch",
"postCreateCommand": "sudo chmod 666 /dev/kvm",
}