Skip to content

Commit 20dbd49

Browse files
authored
Merge pull request #20297 from kubernetes-projects/optimization/git-clone
optimization in git clone using --depth
2 parents 70ad624 + cb9d876 commit 20dbd49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/kubemci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y \
2222
RUN cd /${GOPATH}/src && \
2323
mkdir -p github.com/GoogleCloudPlatform && \
2424
cd github.com/GoogleCloudPlatform && \
25-
git clone https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress.git && \
25+
git clone --depth 1 https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress.git && \
2626
cd k8s-multicluster-ingress && \
2727
make build && \
2828
cp kubemci /bin && \

0 commit comments

Comments
 (0)