crosvm/.devcontainer/devcontainer.json

25 lines
787 B
JSON
Raw Normal View History

{
"image": "gcr.io/crosvm-infra/crosvm_dev:r0019",
"extensions": [
"rust-lang.rust-analyzer",
"bungcip.better-toml",
"esbenp.prettier-vscode",
"ms-python.vscode-pylance",
"foxundermoon.shell-format",
"timonwong.shellcheck",
],
"runArgs": [
"--privileged",
"--device=/dev/kvm",
"--volume=/dev/log:/dev/log",
"--device=/dev/net/tun",
"--device=/dev/vhost-net",
"--device=/dev/vhost-vsock",
"--mount=type=tmpfs,destination=/tmp",
"--mount=type=tmpfs,destination=/var/empty",
],
"containerUser": "crosvmdev",
"updateContentCommand": "sudo chown -R --reference=/workspaces/crosvm /home/crosvmdev",
"postCreateCommand": "sudo chmod 666 /dev/kvm",
}