-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
66 lines (66 loc) · 2.34 KB
/
devcontainer.json
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
{
"name": "Markdown",
"build": {
"dockerfile": "Dockerfile",
"args": {
// "VARIANT": "buster",
// Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.15
"VARIANT": "latest",
// Options
"INSTALL_NODE": "true",
"NODE_VERSION": "lts/*"
}
},
"runArgs": [
"--init",
"--privileged"
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
// Set *default* container specific settings.json values on container create.
"settings": {
// "terminal.integrated.shell.linux": "/bin/bash",
"terminal.integrated.shell.linux": "/usr/bin/zsh"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vadimcn.vscode-lldb",
"mutantdino.resourcemonitor",
"formulahendry.code-runner",
"asciidoctor.asciidoctor-vscode",
"donjayamanne.githistory",
"mhutchie.git-graph",
"alefragnani.bookmarks",
"github.vscode-pull-request-github",
"eamodio.gitlens",
"hoovercj.vscode-power-mode",
"vtrois.gitmoji-vscode",
//
"yzhang.markdown-all-in-one",
"streetsidesoftware.code-spell-checker",
"DavidAnson.vscode-markdownlint",
"shd101wyy.markdown-preview-enhanced",
"bierner.github-markdown-preview",
"ritwickdey.liveserver",
// azure
"ms-vscode.azurecli",
// docker
"ms-azuretools.vscode-docker"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
// the .gnupg folder is hard coded to the vscode user ...
"mounts": [
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached",
"source=${localEnv:HOME}/.gnupg,target=/home/vscode/.gnupg,type=bind,consistency=cached",
"source=dind-var-lib-docker,target=/var/lib/docker,type=volume",
],
"overrideCommand": false,
// Uncomment the next line to run commands after the container is created - for example installing curl.
// "postCreateCommand": "apt-get update && apt-get install -y curl",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}