-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathdevcontainer.json
More file actions
37 lines (37 loc) · 1.08 KB
/
devcontainer.json
File metadata and controls
37 lines (37 loc) · 1.08 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
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
// or this file's README at: https://github.com/devcontainers/images/tree/main/src/go
{
"name": "devcontainers-ci",
"dockerFile": "Dockerfile",
"build": {
"cacheFrom": "ghcr.io/devcontainers/ci-devcontainer:latest"
},
"mounts": [
// Keep command history
"source=devcontainer-build-run-bashhistory,target=/home/vscode/commandhistory",
// Mount host docker socket
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock"
],
"postCreateCommand": ".devcontainer/scripts/postCreate.sh",
"remoteUser": "vscode",
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"files.eol": "\n"
},
"extensions": [
"ms-azuretools.vscode-docker",
"yzhang.markdown-all-in-one",
"davidanson.vscode-markdownlint",
"heaths.vscode-guid",
"esbenp.prettier-vscode",
"meganrogge.template-string-converter",
"ms-azure-devops.azure-pipelines"
]
}
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": "latest"
}
}