Fix dockerfile not being able to pull correct go version

This commit is contained in:
Melody Becker 2025-05-10 11:28:58 +02:00
parent ff6a730e58
commit 3cd9644cb9
Signed by: mstar
SSH key fingerprint: SHA256:vkXfS9FG2pVNVfvDrzd1VW9n8VJzqqdKQGljxxX8uK8

View file

@ -9,7 +9,7 @@ FROM docker.io/golang:1.23 AS build-go
COPY --from=build-ember /app /app
WORKDIR /app
RUN CGO_ENABLED=0 go build -o /app/linstrom .
RUN CGO_ENABLED=0 GOTOOLCHAIN=auto GOSUMDB=sum.golang.org go build -o /app/linstrom .
# FROM fedora:latest AS release
FROM alpine:3 AS release