From dc3b7dd81860f4956a05272d0409ca660edc4f2d Mon Sep 17 00:00:00 2001 From: Ales Brelih Date: Mon, 2 Dec 2024 19:52:32 +0100 Subject: [PATCH] fix: docker image Changed docker image from scratch to golang because with golang/x/tools lift from v0.26.0 to v0.27.0 there was a breaking change of of retrieving golang env variables using go executable. Which breaks ogen in scratch image as go isn't available. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d5fba04a8..a41f7886f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN go mod download RUN CGO_ENABLED=0 go build -o /go/bin/ogen ./cmd/ogen/main.go -FROM scratch +FROM golang:1.23.3 WORKDIR /