Skip to content

Commit

Permalink
fix: docker image
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alesbrelih committed Dec 2, 2024
1 parent 64b8881 commit dc3b7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /

Expand Down

0 comments on commit dc3b7dd

Please sign in to comment.