39 lines
1.5 KiB
JSON
39 lines
1.5 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/debian
|
|
{
|
|
"name": "Ubuntu",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
// Update 'VARIANT' to pick an Debian version: bullseye, buster, stretch
|
|
"args": { "VARIANT": "focal" }
|
|
},
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"matklad.rust-analyzer",
|
|
"vadimcn.vscode-lldb",
|
|
"ms-azuretools.vscode-docker",
|
|
"golang.go",
|
|
"ms-kubernetes-tools.vscode-kubernetes-tools",
|
|
"zxh404.vscode-proto3",
|
|
"phgn.vscode-starlark",
|
|
"redhat.vscode-yaml"
|
|
],
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [],
|
|
|
|
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
|
|
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"],
|
|
|
|
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
|
|
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
|
|
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode",
|
|
"overrideCommand": false,
|
|
"runArgs": ["--init", "--network=host"]
|
|
} |