-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathdevcontainer.json
More file actions
39 lines (38 loc) · 1.13 KB
/
devcontainer.json
File metadata and controls
39 lines (38 loc) · 1.13 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
{
"name": "Somnia Noir Dev",
"build": {
"context": ".",
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"enableNonRootDocker": "true",
"moby": "true"
}
},
"customizations": {
"vscode": {
"settings": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"files.trimTrailingWhitespace": true
},
"extensions": [
// 🛡️ CORE: Noir Language Support
"noir-lang.vscode-noir",
// 🚀 QoL: TOML support is essential for Nargo.toml files
"tamasfe.even-better-toml",
// 🐳 DOCKER: Since you are using DinD, the Docker extension is helpful
"ms-azuretools.vscode-docker"
]
}
},
// 🧠 SMART TIP: Define what user the container runs as.
// If your Dockerfile uses the 'node' user, uncomment below:
// "remoteUser": "node",
// Optional: Run a command after the container is created (e.g., check noir version)
"postCreateCommand": "echo 'Container Ready!'"
}