We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4228ca5 + 2d9f02a commit 67cfb94Copy full SHA for 67cfb94
pkg/scaffold/manager/dockerfile.go
@@ -41,9 +41,9 @@ FROM golang:1.10.3 as builder
41
42
# Copy in the go src
43
WORKDIR /go/src/{{ .Repo }}
44
-COPY pkg/ pkg/
45
COPY cmd/ cmd/
46
COPY vendor/ vendor/
+COPY pkg/ pkg/
47
48
# Build
49
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager {{ .Repo }}/cmd/manager
test/project/Dockerfile
@@ -3,9 +3,9 @@ FROM golang:1.10.3 as builder
3
4
5
WORKDIR /go/src/sigs.k8s.io/kubebuilder/test/project
6
7
8
9
10
11
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager sigs.k8s.io/kubebuilder/test/project/cmd/manager
0 commit comments