Merge pull request #5418 from amscanne:codespace

PiperOrigin-RevId: 355434313
This commit is contained in:
gVisor bot 2021-02-03 11:02:50 -08:00
commit d3113ad440
3 changed files with 41 additions and 0 deletions

1
.bazelignore Normal file
View File

@ -0,0 +1 @@
bazel-gvisor

9
.devcontainer.json Normal file
View File

@ -0,0 +1,9 @@
{
"dockerFile": "images/default/Dockerfile",
"overrideCommand": true,
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"],
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
"extensions": [
"bazelbuild.vscode-bazel"
]
}

31
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,31 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "bazel build //...",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
}
},
{
"label": "Test",
"type": "shell",
"command": "bazel test //...",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
}
}
]
}