diff --git a/Dockerfile b/Dockerfile index 6fec4d594..3ad9fa4d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /go/src/${PACKAGE} COPY pkg/ pkg/ COPY cmd/ cmd/ -COPY Makefile Gopkg.* /go/src/${PACKAGE}/ +COPY Makefile go.* /go/src/${PACKAGE}/ RUN make vendor # Build diff --git a/Dockerfile.dev b/Dockerfile.dev index 315b66a9f..d624aacbc 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -13,7 +13,7 @@ WORKDIR /go/src/${PACKAGE} COPY pkg/ pkg/ COPY cmd/ cmd/ COPY vendor/ vendor/ -COPY Makefile Gopkg.* /go/src/${PACKAGE}/ +COPY Makefile go.* /go/src/${PACKAGE}/ # Build RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager github.com/banzaicloud/istio-operator/cmd/manager