install tools on devcontainer creation

this will stop vscode's Go extension of installing `golangci-lint@latest`
This commit is contained in:
djmil 2026-04-08 21:04:48 +00:00
parent b46a998aac
commit 09d7c98069

View File

@ -12,7 +12,7 @@
"remoteUser": "vscode", "remoteUser": "vscode",
// Run once after the container is created. // Run once after the container is created.
"postCreateCommand": "make init", "postCreateCommand": "make init && make tools",
// Fix ownership of the mounted ~/.claude so the vscode user can read host auth. // Fix ownership of the mounted ~/.claude so the vscode user can read host auth.
"postStartCommand": "sudo chown -R vscode:vscode /home/vscode/.claude 2>/dev/null || true", "postStartCommand": "sudo chown -R vscode:vscode /home/vscode/.claude 2>/dev/null || true",
@ -35,6 +35,7 @@
"github.copilot.inlineSuggest.enable": false, "github.copilot.inlineSuggest.enable": false,
"go.useLanguageServer": true, "go.useLanguageServer": true,
"go.toolsManagement.autoUpdate": false,
"go.lintTool": "golangci-lint", "go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"], "go.lintFlags": ["--fast"],
"go.lintOnSave": "workspace", "go.lintOnSave": "workspace",