mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
53c216fd07
The container was pretty much untested. Now that vscode supports dev containers via SSH I got to test this properly. This provides a workable dev environment out of the box. ./tools/presubmit passes and common extensions for rust, python and bash are added. BUG=None TEST=Open in vscode, re-open in dev container. Run ./tools/presubmit Change-Id: I542f3d26c29c4051000e6ec8b81d77d297bcad7d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3402447 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com>
20 lines
557 B
JSON
20 lines
557 B
JSON
{
|
|
"image": "gcr.io/crosvm-packages/crosvm_dev:latest",
|
|
"extensions": [
|
|
"matklad.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",
|
|
]
|
|
}
|