Update dockerfile to golang 1.26 (#883)
* Update dockerfile to golang 1.26 fixes https://github.com/air-verse/air/issues/882 Signed-off-by: Goutham Veeramachaneni <goutham@grafana.com> * 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 <goutham@grafana.com> --------- Signed-off-by: Goutham Veeramachaneni <goutham@grafana.com>
This commit is contained in:
committed by
GitHub
parent
7a8024892f
commit
f57c2f91eb
+2
-2
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.25 AS builder
|
||||
FROM golang:1.26 AS builder
|
||||
|
||||
LABEL maintainer="Rick Yu <cosmtrek@gmail.com>"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user