From 6d7bab1c7ce8f51e8e73ee10055d0a0024003c00 Mon Sep 17 00:00:00 2001 From: eloymg Date: Wed, 21 May 2025 12:26:26 +0200 Subject: [PATCH] update go to 1.21 and pin go-jsonnet version --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6cf89d52..ba9d7727 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 as base +FROM golang:1.21 as base ENV GO111MODULE=on WORKDIR /app @@ -17,10 +17,10 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \ -ldflags='-s -w -extldflags "-static"' \ -o k8s-gen . -FROM golang:1.20-alpine3.18 as jsonnet +FROM golang:1.21-alpine3.18 as jsonnet RUN apk add --no-cache git -RUN go install github.com/google/go-jsonnet/cmd/jsonnet@latest +RUN go install github.com/google/go-jsonnet/cmd/jsonnet@v0.21.0 FROM alpine:3.18