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