Files
go/.devcontainer/devcontainer.json

32 lines
894 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-09-23 16:24:39 +00:00
// Uncomment the next line to run as root instead. Linux users,
// update Dockerfile with your user's UID/GID if not 1000 when
// using the default "vscode" user.
// "-u", "root",
2019-08-05 23:30:46 +00:00
"--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
}