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

Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
pull/2844/head
Ashish Amarnath 2020-08-19 13:45:08 -07:00 committed by GitHub
parent e0098d8a69
commit d33982b811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

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