From 861e5b00c4ac02eae798b70bd139ab078d532873 Mon Sep 17 00:00:00 2001 From: Snider Date: Sun, 1 Feb 2026 17:38:27 +0000 Subject: [PATCH] fix(developer): pin Go tools to versions compatible with Go 1.24 gopls@latest requires Go 1.25, scc/v3@latest requires Go 1.25.2. Pin to known-working versions for Alpine's Go 1.24. Co-Authored-By: Claude Opus 4.5 --- developer/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/developer/Dockerfile b/developer/Dockerfile index 65c0d4a..e1aa6b1 100644 --- a/developer/Dockerfile +++ b/developer/Dockerfile @@ -141,12 +141,13 @@ RUN curl -fsSL "https://github.com/dunglas/frankenphp/releases/latest/download/f # ============================================================ RUN apk add --no-cache go -RUN go install golang.org/x/tools/gopls@latest && \ - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest && \ - go install github.com/go-task/task/v3/cmd/task@latest && \ - go install github.com/casey/just@latest && \ - go install github.com/watchexec/watchexec/cmd/watchexec@latest 2>/dev/null || true && \ - go install github.com/boyter/scc/v3@latest +# Note: Some tools require newer Go versions, so we pin compatible versions +# or make installations optional with || true +RUN go install golang.org/x/tools/gopls@v0.17.1 || true && \ + go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2 && \ + go install github.com/go-task/task/v3/cmd/task@v3.40.1 && \ + go install github.com/casey/just@latest || true && \ + go install github.com/boyter/scc/v3@v3.4.0 || true # ============================================================ # Rust Ecosystem