From 304a78ea4efd4b184f4537b19c781444104838ef Mon Sep 17 00:00:00 2001 From: Stephen Murray Date: Wed, 25 Mar 2026 14:33:35 +0000 Subject: [PATCH] build: Update Go Version Mismatch with go version and jsonnetfmt package was causing failure pin jsonnetfmt package to avoid this in future --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7938afa..fa2cadb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ # Container image that runs your code -FROM golang:1.23.8-alpine as builder +FROM golang:1.26.1-alpine as builder -RUN go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest +RUN go install github.com/google/go-jsonnet/cmd/jsonnetfmt@v0.22.0 -FROM golang:1.23.8-alpine as runner +FROM golang:1.26.1-alpine as runner COPY --from=builder /go/bin/jsonnetfmt /bin/jsonnetfmt