File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ COPY go.mod go.mod
77COPY go.sum go.sum
88# cache deps before building and copying source so that we don't need to re-download as much
99# and so that source changes don't invalidate our downloaded layer
10- RUN go env -w GOPROXY=https://goproxy.cn,direct; \
11- go mod download
10+ # RUN go env -w GOPROXY=https://goproxy.cn,direct; \
11+ # go mod download
12+ RUN go mod download
1213
1314# Copy the go source
1415COPY cmd/manager/main.go cmd/manager/main.go
Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ COPY go.sum go.sum
1111
1212# cache deps before building and copying source so that we don't need to re-download as much
1313# and so that source changes don't invalidate our downloaded layer
14- RUN go env -w GOPROXY=https://goproxy.cn,direct; \
15- go mod download
14+ # RUN go env -w GOPROXY=https://goproxy.cn,direct; \
15+ # go mod download
16+ RUN go mod download
1617
1718# Copy the go source
1819COPY cmd/sidecar/main.go cmd/sidecar/main.go
You can’t perform that action at this time.
0 commit comments