From 09d7c98069e00106f85879a774ecc3ca9023a3b4 Mon Sep 17 00:00:00 2001 From: djmil Date: Wed, 8 Apr 2026 21:04:48 +0000 Subject: [PATCH] install tools on devcontainer creation this will stop vscode's Go extension of installing `golangci-lint@latest` --- .devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ead3123..851e86e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,7 +12,7 @@ "remoteUser": "vscode", // 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. "postStartCommand": "sudo chown -R vscode:vscode /home/vscode/.claude 2>/dev/null || true", @@ -35,6 +35,7 @@ "github.copilot.inlineSuggest.enable": false, "go.useLanguageServer": true, + "go.toolsManagement.autoUpdate": false, "go.lintTool": "golangci-lint", "go.lintFlags": ["--fast"], "go.lintOnSave": "workspace",