Update dev container to support latest changes
],
// Always run image-defined default command
"overrideCommand": false,
- // As a workaround for Codespaces not supporting workspaceFolder/workspace mount, create
- // a symlink from /workspaces/components-contrib to /go/src/github.com/dapr/components-contrib
- "postCreateCommand": "bash /usr/local/share/setup-gopath.sh components-contrib true",
// On Linux, this will prevent new files getting created as root, but you
// may need to update the USER_UID and USER_GID in docker/Dockerfile-dev
// to match your user if not 1000.
"--init"
],
"settings": {
- "terminal.integrated.defaultProfile.linux": "bash",
+ "go.toolsManagement.checkForUpdates": "local",
+ "go.useLanguageServer": true,
+ "go.gopath": "/go"
},
- "workspaceFolder": "/go/src/github.com/dapr/components-contrib",
- "workspaceMount": "type=bind,source=${localWorkspaceFolder},target=/go/src/github.com/dapr/components-contrib",
+ "workspaceFolder": "/workspaces/components-contrib",
+ "workspaceMount": "type=bind,source=${localWorkspaceFolder},target=/workspaces/components-contrib",
}
