50 строки
1.6 KiB
JSON
50 строки
1.6 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.234.0/containers/docker-existing-dockerfile
|
|
{
|
|
"name": "Onnx Runtime - Eager Mode",
|
|
|
|
"build": {
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
|
|
"customizations": {
|
|
// Configure properties specific to VS Code.
|
|
"vscode": {
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"python.languageServer": "Default",
|
|
"cmake.ignoreCMakeListsMissing": true,
|
|
"python.defaultInterpreterPath": "/usr/bin/python3",
|
|
"python.linting.enabled": true,
|
|
"python.linting.pylintEnabled": true
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"ms-python.vscode-pylance",
|
|
"ms-python.python",
|
|
"ms-vscode.cpptools-extension-pack",
|
|
"ms-vscode.cmake-tools"
|
|
]
|
|
}
|
|
},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [],
|
|
|
|
// Uncomment the next line to run commands after the container is created - for example installing curl.
|
|
// "postCreateCommand": "apt-get update && apt-get install -y curl",
|
|
|
|
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
|
|
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
|
|
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode",
|
|
|
|
"features": {
|
|
"git": "os-provided",
|
|
"python": "os-provided",
|
|
"powershell": "7.1"
|
|
}
|
|
}
|