Files
go/.devcontainer/devcontainer.json

31 lines
853 B
JSON
Raw Normal View History

2019-04-16 19:54:02 -07:00
{
"name": "Go",
"dockerFile": "Dockerfile",
// Specifies a list of ports the container should publish
"appPort": [9000],
2019-04-16 19:54:02 -07:00
"runArgs": [
2019-08-05 23:30:46 +00:00
// Comment out the next line to run as root instead. Linux users,
// update Dockerfile with your user's UID/GID if not 1000.
"-u", "vscode",
"--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
2019-05-28 12:59:34 -07:00
],
// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
2019-06-15 09:46:11 +00:00
"go.gopath": "/go",
"go.inferGopath": true,
"go.useLanguageServer": true
},
// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "go version",
"extensions": [
"ms-vscode.go"
]
2019-04-16 19:54:02 -07:00
}