generated from devcontainers/feature-starter
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.devcontainer.json
More file actions
45 lines (45 loc) · 1.54 KB
/
.devcontainer.json
File metadata and controls
45 lines (45 loc) · 1.54 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": "devo",
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm",
"customizations": {
"vscode": {
"settings": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"editor.tabSize": 2,
"json.schemas": [
{
"fileMatch": [
"*/devcontainer-feature.json"
],
"url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json"
}
]
},
"extensions": [
"mads-hartmann.bash-ide-vscode",
"ms-azuretools.vscode-docker",
"yzhang.markdown-all-in-one",
"donjayamanne.githistory",
"eamodio.gitlens",
"GitHub.copilot",
"Gruntfuggly.todo-tree",
"ionutvmi.path-autocomplete",
"ms-vsliveshare.vsliveshare",
"timonwong.shellcheck",
"GitHub.vscode-pull-request-github"
]
}
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {},
"ghcr.io/devcontainers/features/github-cli:latest": {}
},
"updateContentCommand": "npm install -g @devcontainers/cli",
"remoteUser": "node",
"mounts": [
// map host ssh to container
"source=${env:HOME}${env:USERPROFILE}/.ssh,target=/home/node/.ssh,type=bind,consistency=cached"
]
}