From a3006a45fdebe7e7386f6d709d58dff27ada8ce2 Mon Sep 17 00:00:00 2001 From: OscarMoya Date: Thu, 8 May 2025 11:09:36 +0200 Subject: [PATCH] Correct go version to fix install of JSONNet Corrected image version to make sure jsnnet can be properly installed and used by our github actions Signed-off-by: OscarMoya --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c28623b..7938afa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ # Container image that runs your code -FROM golang:alpine3.16 as builder +FROM golang:1.23.8-alpine as builder RUN go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest -FROM alpine:3.16 as runner +FROM golang:1.23.8-alpine as runner COPY --from=builder /go/bin/jsonnetfmt /bin/jsonnetfmt