// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at // https://github.com/microsoft/vscode-dev-containers/tree/master/containers/docker-existing-dockerfile { "name": "Dev Dockerfile", "dockerFile": "Dockerfile", "context": "..", // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ // Enable go debugger "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined", // Enable SSH for git "-v", "${env:HOME}${env:USERPROFILE}/.ssh:/root/.ssh-localhost:ro" ], "postCreateCommand": "mkdir -p /root/.ssh && cp -r /root/.ssh-localhost/* /root/.ssh && chmod 700 /root/.ssh && chmod 600 /root/.ssh/*", "settings": { "files.eol": "\n", "terminal.integrated.shell.linux": "/bin/bash", }, "extensions": [ "golang.go", "hashicorp.terraform", "ms-vscode.powershell", "ms-azuretools.vscode-docker", "ms-vsliveshare.vsliveshare", "streetsidesoftware.code-spell-checker", "eamodio.gitlens", "yzhang.markdown-all-in-one", "davidanson.vscode-markdownlint" ] }