53 lines
1.8 KiB
JSON
53 lines
1.8 KiB
JSON
{
|
|
"image": "ubuntu:24.04", // for cuda support: nvidia/cuda:13.1.0-devel-ubuntu24.04
|
|
"containerEnv": {
|
|
"CONAN_USR": "t", // need to be filled
|
|
"CONAN_PSW": "" // need to be filled,
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/devcontainers/features/git-lfs:1": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"git.path": "/usr/bin/git"
|
|
},
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"GitHub.copilot-chat",
|
|
"njqdev.vscode-python-typehint",
|
|
"ms-python.debugpy",
|
|
"mhutchie.git-graph",
|
|
"ms-vscode.cpptools-themes",
|
|
"tamasfe.even-better-toml",
|
|
"moshfeu.compare-folders",
|
|
"njpwerner.autodocstring",
|
|
"ms-python.black-formatter",
|
|
"ms-python.isort",
|
|
"ms-vscode.live-server",
|
|
"yzhang.markdown-all-in-one",
|
|
"bierner.markdown-mermaid",
|
|
"charliermarsh.ruff",
|
|
"shardulm94.trailing-spaces",
|
|
"redhat.vscode-yaml",
|
|
"ninoseki.vscode-mogami",
|
|
"josetr.cmake-language-support-vscode",
|
|
"ms-vscode.cmake-tools",
|
|
"twxs.cmake",
|
|
"cheshirekow.cmake-format",
|
|
"ms-azuretools.vscode-docker",
|
|
"foxundermoon.shell-format",
|
|
"nvidia.nsight-vscode-edition"
|
|
]
|
|
}
|
|
},
|
|
"runArgs": [
|
|
"--network=host",
|
|
"-e HOST_UID=$(id -u)",
|
|
"-e HOST_GID=$(id -g)",
|
|
"--gpus=all"
|
|
],
|
|
"postStartCommand": ".devcontainer/postStartCommand.sh"
|
|
} |