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