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
7
7
COPY go.sum go.sum
8
8
# cache deps before building and copying source so that we don't need to re-download as much
9
9
# 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
12
13
13
14
# Copy the go source
14
15
COPY 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
11
11
12
12
# cache deps before building and copying source so that we don't need to re-download as much
13
13
# 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
16
17
17
18
# Copy the go source
18
19
COPY cmd/sidecar/main.go cmd/sidecar/main.go
You can’t perform that action at this time.
0 commit comments