onnxruntime
49 строк · 1.6 Кб
1// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2// https://github.com/microsoft/vscode-dev-containers/tree/v0.234.0/containers/docker-existing-dockerfile
3{
4"name": "Onnx Runtime - Eager Mode",
5
6"build": {
7"dockerfile": "Dockerfile"
8},
9
10"customizations": {
11// Configure properties specific to VS Code.
12"vscode": {
13// Set *default* container specific settings.json values on container create.
14"settings": {
15"python.languageServer": "Default",
16"cmake.ignoreCMakeListsMissing": true,
17"python.defaultInterpreterPath": "/usr/bin/python3",
18"python.linting.enabled": true,
19"python.linting.pylintEnabled": true
20},
21
22// Add the IDs of extensions you want installed when the container is created.
23"extensions": [
24"ms-python.vscode-pylance",
25"ms-python.python",
26"ms-vscode.cpptools-extension-pack",
27"ms-vscode.cmake-tools"
28]
29}
30},
31
32// Use 'forwardPorts' to make a list of ports inside the container available locally.
33// "forwardPorts": [],
34
35// Uncomment the next line to run commands after the container is created - for example installing curl.
36// "postCreateCommand": "apt-get update && apt-get install -y curl",
37
38// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
39"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
40
41// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
42"remoteUser": "vscode",
43
44"features": {
45"git": "os-provided",
46"python": "os-provided",
47"powershell": "7.1"
48}
49}
50