diff --git a/Dockerfile b/Dockerfile index e21b4ec..c0e8f46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,8 @@ WORKDIR /src ARG GOTOOLCHAIN=auto ENV GOTOOLCHAIN=${GOTOOLCHAIN} ENV CGO_ENABLED=0 -ENV GOPROXY=https://goproxy.cn,direct -ENV GOSUMDB=off +ENV GOPROXY=https://goproxy.cn,https://proxy.golang.com.cn,direct +ENV GOSUMDB=sum.golang.google.cn COPY core/go.mod core/go.sum ./core/ COPY agent/go.mod agent/go.sum ./agent/ RUN cd core && go mod download