diff --git a/Dockerfile.npc b/Dockerfile.npc index e20fb90f..4a1d71cd 100755 --- a/Dockerfile.npc +++ b/Dockerfile.npc @@ -1,5 +1,5 @@ FROM golang:1.15 as builder -ENV GOPROXY=https://proxy.golang.org,direct +ENV GOPROXY=https://goproxy.cn,direct WORKDIR /go/src/ehang.io/nps COPY . . RUN go get -d -v ./... diff --git a/Dockerfile.nps b/Dockerfile.nps index bb8c225b..505c6580 100755 --- a/Dockerfile.nps +++ b/Dockerfile.nps @@ -1,5 +1,5 @@ FROM golang:1.15 as builder -ENV GOPROXY=https://proxy.golang.org,direct +ENV GOPROXY=https://goproxy.cn,direct WORKDIR /go/src/ehang.io/nps COPY . . RUN go get -d -v ./...