diff --git a/Dockerfile b/Dockerfile index e45d078..011926a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ ARG VERSION=dev RUN TEFTER_VERSION=$VERSION npx vite build FROM docker.io/library/golang:1.25-alpine AS build +# git enables the GOPROXY "direct" fallback (fetch modules from their VCS). +RUN apk add --no-cache git # Overridable for hosts where proxy.golang.org (Google) is unreachable — # set e.g. GOPROXY=https://goproxy.io,direct in .env.docker. Module # integrity is still verified against the committed go.sum either way.