Update devcontainer configuration and Dockerfile to improve environment setup

This commit is contained in:
Andy Oknen 2025-07-29 21:21:47 +00:00
parent a7185743cc
commit 4acc41cc03
3 changed files with 6 additions and 1 deletions

View file

@ -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