mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 08:25:07 +03:00
Update devcontainer configuration and Dockerfile to improve environment setup
This commit is contained in:
parent
a7185743cc
commit
4acc41cc03
3 changed files with 6 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
|||
"GOMODCACHE": "/home/vscode/.cache/go-mod"
|
||||
},
|
||||
// Post create command to set up the environment
|
||||
"postCreateCommand": "mkdir -p /home/vscode/.cache/go-build /home/vscode/.cache/go-mod && cd /workspace && go mod download && go mod tidy",
|
||||
"postCreateCommand": "mkdir -p /home/vscode/.cache/go-build /home/vscode/.cache/go-mod && cd /workspaces/yggdrasil-go && go mod download && go mod tidy",
|
||||
// Keep the container running
|
||||
"overrideCommand": false,
|
||||
// Use non-root user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue