File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ WORKDIR /go/src/sigs.k8s.io/apiserver-network-proxy
8
8
COPY go.mod go.mod
9
9
COPY go.sum go.sum
10
10
11
+ # This is required before go mod download because we have a
12
+ # replace directive for konnectivity-client in go.mod
13
+ # The download will fail without the directory present
14
+ COPY konnectivity-client/ konnectivity-client/
15
+
11
16
# Cache dependencies
12
17
RUN go mod download
13
18
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ WORKDIR /go/src/sigs.k8s.io/apiserver-network-proxy
8
8
COPY go.mod go.mod
9
9
COPY go.sum go.sum
10
10
11
+ # This is required before go mod download because we have a
12
+ # replace directive for konnectivity-client in go.mod
13
+ # The download will fail without the directory present
14
+ COPY konnectivity-client/ konnectivity-client/
15
+
11
16
# Cache dependencies
12
17
RUN go mod download
13
18
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ WORKDIR /go/src/sigs.k8s.io/apiserver-network-proxy
8
8
COPY go.mod go.mod
9
9
COPY go.sum go.sum
10
10
11
+ # This is required before go mod download because we have a
12
+ # replace directive for konnectivity-client in go.mod
13
+ # The download will fail without the directory present
14
+ COPY konnectivity-client/ konnectivity-client/
15
+
11
16
# Cache dependencies
12
17
RUN go mod download
13
18
You can’t perform that action at this time.
0 commit comments