-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdevcontainer.json
92 lines (80 loc) · 2.41 KB
/
devcontainer.json
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "DevContainer for .NET",
"build": {
"dockerfile": "./Dockerfile",
"context": ".",
"args": {
"VARIANT": "8.0-jammy"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
// ASP.NET Core Web/API App
5000, 5001,
// Azure Static Web Apps
4280
],
"features": {
// .NET SDK
"ghcr.io/devcontainers/features/dotnet:latest": {
"version": "6.0",
"additionalVersions": "7.0"
},
// Azure CLI
"ghcr.io/devcontainers/features/azure-cli:latest": {
"version": "latest"
},
// GitHub CLI
"ghcr.io/devcontainers/features/github-cli:latest": {
"version": "latest"
},
// node.js
"ghcr.io/devcontainers/features/node:latest": {
"version": "lts",
"nodeGypDependencies": true,
"nvmInstallPath": "/usr/local/share/nvm"
},
// Install common utilities
"ghcr.io/devcontainers/features/common-utils:1": {
"installZsh": true,
"installOhMyZsh": true,
"upgradePackages": true,
"username": "vscode",
"uid": "1000",
"gid": "1000"
}
},
"overrideFeatureInstallOrder": [
"ghcr.io/devcontainers/features/common-utils"
],
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"GitHub.copilot",
"GitHub.copilot-chat",
"ms-dotnettools.csdevkit",
"ms-vscode.PowerShell",
"ms-vscode.vscode-node-azure-pack",
"VisualStudioExptTeam.vscodeintellicode"
],
"settings": {
// Uncomment if you want to disable the minimap view
// "editor.minimap.enabled": false,
// Recommended settings for the explorer pane
"explorer.sortOrder": "type",
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.js": "${capture}.js.map",
"*.razor": "${capture}.razor.cs,${capture}.razor.css"
}
}
}
},
// Uncomment if you want to use bash in 'onCreateCommand' after the container is created
"onCreateCommand": "/bin/bash ./.devcontainer/on-create.sh > ~/on-create.log",
// Uncomment if you want to connect other than 'root'. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}