Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
{
"name": "tbd-dev-container",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/tbd,type=bind",
"workspaceFolder": "/workspaces/tbd",
"mounts": [
"source=extensionCache,target=/root/.vscode-server/extensions,type=volume",
// flashing: uncomment for device flashing
// warning: this is potentially dangerous
//
"type=bind,source=/dev,target=/dev",
// sound: uncomment for desktop build sound output
// https://comp0016-team-24.github.io/dev/problem-solving/2020/10/30/passing-audio-into-docker.html
//
"source=/run/user/1000/pulse/native,target=/run/user/1000/pulse/native,type=bind"
],
"build": {
"context": "..",
"dockerfile": "Dockerfile"
},
"containerEnv": {
"TBD_PROJECT_DIR": "${containerWorkspaceFolder}",
"PYTHONPATH": "${containerWorkspaceFolder}/tools/tbd_tools",
"PULSE_SERVER": "unix:/run/user/1000/pulse/native"
},
"remoteEnv": {
// setting PATH in container causes build error
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/tools/bin"
},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"python.defaultInterpreterPath": "/tbd/.venv/bin/python"
},
"extensions": [
"ms-vscode.cpptools-extension-pack",
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
// "swyddfa.esbonio",
"ms-python.vscode-pylance",
"ms-python.python",
"ms-python.debugpy",
"lextudio.restructuredtext",
"trond-snekvik.simple-rst",
"ms-vscode.cpptools-themes",
"twxs.cmake",
"samuelcolvin.jinjahtml",
"tamasfe.even-better-toml"
]
}
},
"runArgs": [
// flashing: uncomment for device flashing
// warning: this is potentially dangerous
//
"--privileged"
]
}
66e1b56e4This file is pinned to the selected release. Download the original to open it in your design tool.