diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..dcd525c6 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,26 @@ +{ + "image": "mcr.microsoft.com/azterraform:latest", + + "runArgs": [ + "--cap-add=SYS_PTRACE", + "--security-opt", + "seccomp=unconfined", + "--init", + "--network=host" + ], + + "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ], + "customizations": { + "vscode": { + "settings": { + "go.toolsManagement.checkForUpdates": "local", + "go.useLanguageServer": true, + "go.goroot": "/usr/local/go" + }, + "extensions": [ + "hashicorp.terraform", + "golang.Go" + ] + } + } +}