Update comments, set default terminal in container
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "Go",
|
||||
"dockerFile": "Dockerfile",
|
||||
"appPort": 9000,
|
||||
"extensions": [
|
||||
"ms-vscode.go"
|
||||
],
|
||||
|
||||
// Specifies a list of ports the container should publish
|
||||
"appPort": [9000],
|
||||
|
||||
"runArgs": [
|
||||
// Comment out the next line to run as root instead. Linux users,
|
||||
// update Dockerfile with your user's UID/GID if not 1000.
|
||||
@@ -12,9 +12,20 @@
|
||||
|
||||
"--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
|
||||
],
|
||||
|
||||
// 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",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user