Merge pull request #4327 from thaJeztah/dockerfile_goproxy

Dockerfile.vendor: update GOPROXY to use default with fallback
This commit is contained in:
Sebastiaan van Stijn 2023-06-02 14:08:24 +02:00 committed by GitHub
commit 7c480f4a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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