feat: 增加 go mod download 回显

master v1.0.1
icechen 2022-01-07 00:39:21 +08:00
parent b682605762
commit b86b8baa56
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ ENV GOPROXY https://goproxy.io,direct
WORKDIR /go/cache
ADD go.mod .
ADD go.sum .
RUN go mod download
RUN go mod download -x
WORKDIR /go/src
ADD . .
RUN go mod tidy

View File

@ -4,7 +4,7 @@ ENV GOPROXY https://goproxy.io,direct
WORKDIR /go/cache
ADD go.mod .
ADD go.sum .
RUN go mod download
RUN go mod download -x
WORKDIR /go/src
ADD . .
RUN go mod tidy