File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ FROM golang:1.12.1 as builder
3
3
4
4
# Copy in the go src
5
5
WORKDIR /go/src/sigs.k8s.io/apiserver-network-proxy
6
+
7
+ # Copy the Go Modules manifests
8
+ COPY go.mod go.mod
9
+ COPY go.sum go.sum
10
+
11
+ # Cache dependencies
12
+ RUN go mod download
13
+
14
+ # Copy the sources
6
15
COPY pkg/ pkg/
7
16
COPY cmd/ cmd/
8
17
COPY proto/ proto/
Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ FROM golang:1.12.1 as builder
3
3
4
4
# Copy in the go src
5
5
WORKDIR /go/src/sigs.k8s.io/apiserver-network-proxy
6
+
7
+ # Copy the Go Modules manifests
8
+ COPY go.mod go.mod
9
+ COPY go.sum go.sum
10
+
11
+ # Cache dependencies
12
+ RUN go mod download
13
+
14
+ # Copy the sources
6
15
COPY pkg/ pkg/
7
16
COPY cmd/ cmd/
8
17
COPY proto/ proto/
Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ FROM golang:1.12.1 as builder
3
3
4
4
# Copy in the go src
5
5
WORKDIR /go/src/sigs.k8s.io/apiserver-network-proxy
6
+
7
+ # Copy the Go Modules manifests
8
+ COPY go.mod go.mod
9
+ COPY go.sum go.sum
10
+
11
+ # Cache dependencies
12
+ RUN go mod download
13
+
14
+ # Copy the sources
6
15
COPY pkg/ pkg/
7
16
COPY cmd/ cmd/
8
17
COPY proto/ proto/
You can’t perform that action at this time.
0 commit comments