Merge pull request #4328 from thaJeztah/24.0_backport_dockerfile_goproxy

[24.0 backport] Dockerfile.vendor: update GOPROXY to use default with fallback
This commit is contained in:
Sebastiaan van Stijn
2023-06-02 14:08:51 +02:00
committed by GitHub

View File

@ -9,7 +9,7 @@ RUN apk add --no-cache bash git rsync
WORKDIR /src
FROM base AS vendored
ENV GOPROXY=direct
ENV GOPROXY=https://proxy.golang.org|direct
RUN --mount=target=/context \
--mount=target=.,type=tmpfs \
--mount=target=/go/pkg/mod,type=cache <<EOT