-
Notifications
You must be signed in to change notification settings - Fork 659
Expand file tree
/
Copy pathdevcontainer.json
More file actions
60 lines (60 loc) · 2 KB
/
Copy pathdevcontainer.json
File metadata and controls
60 lines (60 loc) · 2 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
54
55
56
57
58
59
60
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/dotnet
{
"name": "GitVersion",
"build": {
"dockerfile": "Dockerfile",
"context": "."
},
"features": {
"ghcr.io/devcontainers/features/common-utils": {
"installZsh": "true",
"username": "vscode",
"userUid": "1000",
"userGid": "1000",
"upgradePackages": "true"
},
"ghcr.io/devcontainers/features/git": {
"version": "os-provided",
"ppa": "false"
},
"ghcr.io/devcontainers/features/powershell": {
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli": {
"version": "latest"
},
"ghcr.io/devcontainers/features/docker-in-docker": {
"version": "latest"
},
"ghcr.io/eitsupi/devcontainer-features/jq-likes": {
"jqVersion": "latest",
"yqVersion": "latest",
"xqVersion": "none"
}
},
"customizations": {
"vscode": {
"settings": {
"editor.fontFamily": "'Cascadia Code', Consolas, 'Courier New', monospace",
"editor.rulers": [
90
],
"cSpell.words": [
"commiting",
"gittools",
"gitversion"
]
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-dotnettools.csdevkit",
"EditorConfig.EditorConfig",
"streetsidesoftware.code-spell-checker"
]
}
},
"postCreateCommand": "dotnet restore src; dotnet build build",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}