mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 03:57:43 +01:00
This allows gopls to handle autocompletion by setting multiple workspace roots it can traverse for dependencies.
26 lines
863 B
JSON
26 lines
863 B
JSON
{
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": ".."
|
|
},
|
|
"containerEnv": {
|
|
"DOKKU_HOST_ROOT": "${localWorkspaceFolder}/tmp/data/home/dokku",
|
|
"GO_ROOT_MOUNT": "${localWorkspaceFolder}:/go/src/github.com/dokku/dokku"
|
|
},
|
|
"extensions": [
|
|
"golang.go",
|
|
"mads-hartmann.bash-ide-vscode",
|
|
"ms-vscode.makefile-tools"
|
|
],
|
|
"initializeCommand": ["mkdir", "-p", "tmp/data"],
|
|
"mounts": [
|
|
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
|
|
"source=${localWorkspaceFolder}/tmp/data/,target=/mnt/dokku/,type=bind"
|
|
],
|
|
"overrideCommand": false,
|
|
"postCreateCommand": "make setup-deploy-tests",
|
|
"runArgs": ["--init"],
|
|
"workspaceFolder": "/root/go/src/github.com/dokku/dokku",
|
|
"workspaceMount": "type=bind,source=${localWorkspaceFolder},target=/root/go/src/github.com/dokku/dokku,consistency=cached"
|
|
}
|