Skip to content

Commit 33a3973

Browse files
zioprotolonegunmanb
authored andcommitted
Restore devcontainer
1 parent 2e67bf4 commit 33a3973

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"image": "mcr.microsoft.com/azterraform:latest",
3+
4+
"runArgs": [
5+
"--cap-add=SYS_PTRACE",
6+
"--security-opt",
7+
"seccomp=unconfined",
8+
"--init",
9+
"--network=host"
10+
],
11+
12+
"mounts": [
13+
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
14+
"source=${localEnv:HOME}${localEnv:USERPROFILE},target=/host-home-folder,type=bind,consistency=cached"
15+
],
16+
"customizations": {
17+
"vscode": {
18+
"settings": {
19+
"go.toolsManagement.checkForUpdates": "local",
20+
"go.useLanguageServer": true,
21+
"go.goroot": "/usr/local/go"
22+
},
23+
"extensions": [
24+
"hashicorp.terraform",
25+
"golang.Go"
26+
]
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)