-
Notifications
You must be signed in to change notification settings - Fork 852
Expand file tree
/
Copy pathdevcontainer.json
More file actions
69 lines (69 loc) · 2.23 KB
/
devcontainer.json
File metadata and controls
69 lines (69 loc) · 2.23 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
61
62
63
64
65
66
67
68
69
{
// Linux / WSL host only — Windows-native Docker hosts are not supported
// (mounts rely on $HOME which is unset on Windows).
"name": "Uno Platform — Agent Sandbox",
"build": {
"dockerfile": "Dockerfile",
"args": {
"TZ": "${localEnv:TZ:America/Los_Angeles}",
"CLAUDE_CODE_VERSION": "latest",
"ZSH_IN_DOCKER_VERSION": "1.2.0"
}
},
"runArgs": [
"--cap-add=NET_ADMIN",
"--cap-add=NET_RAW",
"--shm-size=2g"
],
"customizations": {
"vscode": {
"extensions": [
"anthropic.claude-code",
"unoplatform.vscode",
"ms-dotnettools.csdevkit",
"eamodio.gitlens"
],
"settings": {
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
"*.xaml": "$(capture).xaml.cs"
},
"files.associations": {
"global.json": "jsonc"
},
"unoplatform.ignoreCheck": true,
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh"
}
}
}
}
},
"remoteUser": "developer",
"mounts": [
"source=uno-claude-config-${devcontainerId},target=/home/developer/.claude,type=volume",
"source=uno-commandhistory-${devcontainerId},target=/commandhistory,type=volume",
"source=uno-nuget-cache-${devcontainerId},target=/home/developer/.nuget,type=volume",
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind",
"source=${localEnv:HOME}/.local/share/Uno Platform,target=/tmp/uno-platform-host,type=bind,readonly"
],
"containerEnv": {
"DEVCONTAINER": "true",
"DOTNET_CLI_TELEMETRY_OPTOUT": "1",
"DISPLAY": "${localEnv:DISPLAY::0}",
"CLAUDE_CONFIG_DIR": "/home/developer/.claude",
"POWERLEVEL9K_DISABLE_GITSTATUS": "true"
},
"initializeCommand": "mkdir -p \"${HOME}/.local/share/Uno Platform\"",
"workspaceMount": "source=${localWorkspaceFolder},target=/uno,type=bind,consistency=delegated",
"workspaceFolder": "/uno",
"postStartCommand": "bash /uno/.devcontainer/post-start.sh",
"waitFor": "postStartCommand"
}