🏃‍♂️remove go mod download from Dockerfile for build speedup (#2842)

Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
Ashish Amarnath
2020-08-19 13:45:08 -07:00
committed by GitHub
parent e0098d8a69
commit d33982b811

View File

@@ -30,8 +30,6 @@ WORKDIR /go/src/github.com/vmware-tanzu/velero
COPY . /go/src/github.com/vmware-tanzu/velero
RUN go mod download
RUN apt-get update && apt-get install -y bzip2
FROM --platform=$BUILDPLATFORM builder-env as builder