-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
55 lines (51 loc) · 2.02 KB
/
Copy pathdevcontainer.json
File metadata and controls
55 lines (51 loc) · 2.02 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
{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
"name": "MolCrafts DevContainers (authoring)",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true
},
"ghcr.io/devcontainers/features/node:1": { "version": "22" },
"ghcr.io/devcontainers/features/github-cli:1": {},
// `devcontainer features test` builds a container per scenario, so this
// repo genuinely needs a Docker daemon of its own.
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
// shellcheck is the CI gate for features/src/*/install.sh — have it locally
// so the failure is found before the push, not after.
"onCreateCommand": "sudo apt-get update && sudo apt-get install -y --no-install-recommends shellcheck jq",
"updateContentCommand": "npm install -g @devcontainers/cli && npm install --no-save jsonc-parser",
"customizations": {
"vscode": {
"extensions": [
"mads-hartmann.bash-ide-vscode",
"timonwong.shellcheck",
"redhat.vscode-yaml",
"GitHub.vscode-github-actions"
],
"settings": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"json.schemas": [
{
"fileMatch": ["features/src/*/devcontainer-feature.json"],
"url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json"
},
{
"fileMatch": [
"images/*/.devcontainer/devcontainer.json",
".devcontainer/devcontainer.json"
],
"url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json"
}
],
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": ".github/workflows/*.yml"
}
}
}
},
"remoteUser": "vscode"
}