From f57c2f91eb1f23cdeeec74195311234a4a10f398 Mon Sep 17 00:00:00 2001 From: Goutham Veeramachaneni Date: Tue, 3 Mar 2026 02:39:39 +0100 Subject: [PATCH] Update dockerfile to golang 1.26 (#883) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update dockerfile to golang 1.26 fixes https://github.com/air-verse/air/issues/882 Signed-off-by: Goutham Veeramachaneni * Scope PR to Dockerfile-only: keep go.mod at 1.25 for compatibility Revert go.mod, CI workflows, READMEs, and AGENTS.md changes per reviewer feedback — only update the Docker base image to Go 1.26. This preserves broad `go install` compatibility for users on older Go versions. Signed-off-by: Goutham Veeramachaneni --------- Signed-off-by: Goutham Veeramachaneni --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e35c021..795018a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25 AS builder +FROM golang:1.26 AS builder LABEL maintainer="Rick Yu " @@ -12,7 +12,7 @@ RUN --mount=type=cache,target=/go/pkg/mod go mod download RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build make ci && make install -FROM golang:1.25 +FROM golang:1.26 COPY --from=builder /go/bin/air /go/bin/air