summaryrefslogtreecommitdiffhomepage
path: root/images/packetdrill/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'images/packetdrill/Dockerfile')
-rw-r--r--images/packetdrill/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/images/packetdrill/Dockerfile b/images/packetdrill/Dockerfile
new file mode 100644
index 000000000..01296dbaf
--- /dev/null
+++ b/images/packetdrill/Dockerfile
@@ -0,0 +1,8 @@
+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 --depth 1 --branch packetdrill-v2.0 \
+ https://github.com/google/packetdrill.git
+RUN cd packetdrill/gtests/net/packetdrill && ./configure && make
+CMD /bin/bash