Fix dockerfile not being able to pull correct go version
This commit is contained in:
parent
ff6a730e58
commit
3cd9644cb9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue