devcontainer.json 915 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
    "name": "Ktrans Dev Container",
    "privileged": true,
    "build": {
        "dockerfile": "Dockerfile",
        "context": "..",
        "args": {
            "http_proxy": "${env:http_proxy}",
            "https_proxy": "${env:https_proxy}",
        }
    },
    "runArgs": [
        "--network=host",
        "--gpus",
        "all"
        // "--gpu all"
    ],
    "workspaceFolder": "/workspace",
    "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
    "mounts": [
        "source=/mnt/data,target=/mnt/incontainer,type=bind,consistency=cached"
    ],
    "customizations": {
        "vscode": {
            "extensions": [
            ],
            "settings": {
                "terminal.integrated.shell.linux": "/bin/bash",
                "cmake.configureOnOpen": true,
                "cmake.generator": "Ninja"
            }
        }
    }
}