Files
rust/.devcontainer/devcontainer.json

37 lines
1.1 KiB
JSON
Raw Normal View History

// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
2021-03-08 17:19:41 -06:00
// https://github.com/microsoft/vscode-dev-containers/tree/v0.159.0/containers/rust
2019-05-01 13:00:29 -07:00
{
2020-04-09 01:07:08 +00:00
"name": "Rust Sample",
"build": {
"dockerfile": "Dockerfile"
},
2019-12-11 20:50:33 +00:00
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
2019-08-26 14:02:30 -07:00
2020-04-09 01:07:08 +00:00
// Set *default* container specific settings.json values on container create.
2019-08-26 14:02:30 -07:00
"settings": {
2019-12-11 20:50:33 +00:00
"terminal.integrated.shell.linux": "/bin/bash",
"lldb.executable": "/usr/bin/lldb",
// VS Code don't watch files under ./target
"files.watcherExclude": {
"**/target/**": true
}
2019-08-26 14:02:30 -07:00
},
2020-04-09 01:07:08 +00:00
// Add the IDs of extensions you want installed when the container is created.
2019-08-26 14:02:30 -07:00
"extensions": [
"rust-lang.rust",
"bungcip.better-toml",
"vadimcn.vscode-lldb",
"mutantdino.resourcemonitor"
2020-04-09 01:07:08 +00:00
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "rustc --version",
// Comment out to run as root instead.
2020-04-09 01:07:08 +00:00
"remoteUser": "vscode"
}