-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
39 lines (39 loc) · 1.29 KB
/
devcontainer.json
File metadata and controls
39 lines (39 loc) · 1.29 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
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/devcontainers/images/tree/main/src/base-ubuntu
{
"name": "cppfront-practice",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"capAdd": [
// Enable ptrace-based debugging for C++
"SYS_PTRACE"
],
"securityOpt": [
"seccomp=unconfined"
],
// https://github.com/devcontainers/features
// Using features in vscode requires access github with uncomment the below
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/python:1": {},
"ghcr.io/msclock/features/vcpkg:2": {},
"ghcr.io/devcontainers/features/common-utils:2": {
"username": "vscode"
}
},
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"mhutchie.git-graph",
"ms-vscode.cmake-tools",
"elazarcoh.cpp2-syntax"
]
}
},
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": {
"git-completions": "echo 'source /usr/share/bash-completion/completions/git' >> ~/.bashrc"
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "vscode"
}