forked from dotnet/diagnostics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
45 lines (43 loc) · 1.44 KB
/
devcontainer.json
File metadata and controls
45 lines (43 loc) · 1.44 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
{
"name": "Diagnostics - Contribute",
"build": {
"dockerfile": "Dockerfile"
},
"hostRequirements": {
"cpus": 4,
"memory": "8gb",
"storage": "64gb"
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/docker-in-docker": {}
},
"customizations": {
"codespaces": {
"extensions": [
"ms-dotnettools.csdevkit",
"GitHub.copilot",
"GitHub.copilot-chat"
],
"settings": {
"remote.autoForwardPorts": true,
"remote.autoForwardPortsSource": "hybrid",
"remote.otherPortsAttributes": {
"onAutoForward": "ignore"
},
"dotnet.defaultSolution": "build.sln"
}
}
},
"postStartCommand": "${containerWorkspaceFolder}/dotnet.sh --info",
"capAdd": [ "SYS_PTRACE" ],
// Add the locally installed dotnet to the path to ensure that it is activated
// This allows developers to just use 'dotnet build' on the command-line, and the local dotnet version will be used.
// Add the global tools dir to the PATH so that globally installed tools will work
"remoteEnv": {
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}"
},
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
// This one is defined by common-utils in the dotnet devcontainer base image.
"remoteUser": "vscode"
}