summaryrefslogtreecommitdiffhomepage
path: root/images
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2020-06-05 11:29:53 -0700
committerNicolas Lacasse <nlacasse@google.com>2020-06-05 11:29:53 -0700
commitd208bb86ac13d2e9e682c0a8a60670458a14c7ba (patch)
treeeb76488e50de3a59eda9ebeb0ca76e2c2cf36dbb /images
parent41da7a568b1e4f46b3bc09724996556fb18b4d16 (diff)
parent1495d4448fdf97a115e6e808c0363d12219264a7 (diff)
Merge pull request #2789 from Rajpratik71:optimization/git-clone
PiperOrigin-RevId: 314855924
Diffstat (limited to 'images')
-rw-r--r--images/packetdrill/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/packetdrill/Dockerfile b/images/packetdrill/Dockerfile
index 7a006c85f..01296dbaf 100644
--- a/images/packetdrill/Dockerfile
+++ b/images/packetdrill/Dockerfile
@@ -2,7 +2,7 @@ FROM ubuntu:bionic
RUN apt-get update && apt-get install -y net-tools git iptables iputils-ping \
netcat tcpdump jq tar bison flex make
RUN hash -r
-RUN git clone --branch packetdrill-v2.0 \
+RUN git clone --depth 1 --branch packetdrill-v2.0 \
https://github.com/google/packetdrill.git
RUN cd packetdrill/gtests/net/packetdrill && ./configure && make
CMD /bin/bash