summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/workloads/tensorflow
diff options
context:
space:
mode:
authorPratik Raj <rajpratik71@gmail.com>2020-05-27 20:30:22 +0530
committerPratik Raj <rajpratik71@gmail.com>2020-05-28 09:36:14 +0530
commit1495d4448fdf97a115e6e808c0363d12219264a7 (patch)
tree713663d8f4c4a7847c571a09ef32d87c2c47acf8 /benchmarks/workloads/tensorflow
parente028714a0dd390b2321c4beeac62c5b2904cd917 (diff)
optimization in git clone using --depth
optimize the git clone using --depth flag in term of size of clone and also in term's of time taken to fetch the files and commit history of whole repository . More detail can be found at blog https://www.atlassian.com/git/tutorials/big-repositories Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Diffstat (limited to 'benchmarks/workloads/tensorflow')
-rw-r--r--benchmarks/workloads/tensorflow/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/workloads/tensorflow/Dockerfile b/benchmarks/workloads/tensorflow/Dockerfile
index 262643b98..b5763e8ae 100644
--- a/benchmarks/workloads/tensorflow/Dockerfile
+++ b/benchmarks/workloads/tensorflow/Dockerfile
@@ -2,7 +2,7 @@ FROM tensorflow/tensorflow:1.13.2
RUN apt-get update \
&& apt-get install -y git
-RUN git clone https://github.com/aymericdamien/TensorFlow-Examples.git
+RUN git clone --depth 1 https://github.com/aymericdamien/TensorFlow-Examples.git
RUN python -m pip install -U pip setuptools
RUN python -m pip install matplotlib