Maintenance: devcontainer changes

- Bind mount for root only
- Support for Windows Hyperv bind mounts
- Run go mod tidy after go mod download
- Use :z flag for possibly shared bind mounts
- Bind mount zsh_history
- Bind mount docker config directory
This commit is contained in:
Quentin McGaw
2021-04-24 13:53:48 +00:00
parent fb8279f8f0
commit 04313d3c3b
3 changed files with 12 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
"vscode"
],
"shutdownAction": "stopCompose",
"postCreateCommand": "go mod download",
"postCreateCommand": "source ~/.windows.sh && go mod download && go mod tidy",
"workspaceFolder": "/workspace",
"extensions": [
"golang.go",