-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
53 lines (53 loc) · 1.65 KB
/
devcontainer.json
File metadata and controls
53 lines (53 loc) · 1.65 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
{
"name": "C++26 Fedora",
"image": "ghcr.io/rsl-org/fedora_devcontainer:latest",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools-extension-pack",
"ms-vscode.cpptools",
"ms-vscode.cpptools-themes",
"ms-python.debugpy",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.vscode-python-envs",
"ms-python.isort",
"ms-python.mypy-type-checker",
"ms-python.autopep8",
"ms-vscode.cmake-tools",
"llvm-vs-code-extensions.vscode-clangd",
"matepek.vscode-catch2-test-adapter",
"Gruntfuggly.todo-tree",
"xaver.clang-format",
"BlueGlassBlock.better-json5"
]
},
"settings": {
"editor.tabSize": 2,
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "zsh"
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
}
}
},
"containerEnv": {
"LOCAL_USER": "${localEnv:USER}",
"LOCAL_UID": "${localEnv:UID:1000}",
"LOCAL_GID": "${localEnv:GID:1000}",
"LOCAL_HOME": "/workspaces"
},
"onCreateCommand": "/setup_user.sh",
"postCreateCommand": "sudo -u $LOCAL_USER /workspaces/rsl/projects/enable_all.sh",
"postAttachCommand": "exec su - $LOCAL_USER",
"mounts": [
"source=/run/systemd/journal/socket,target=/run/systemd/journal/socket,type=bind,consistency=delegated,readonly=false"
]
}