summaryrefslogtreecommitdiffhomepage
path: root/test/packetdrill/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/packetdrill/Dockerfile')
-rw-r--r--test/packetdrill/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/packetdrill/Dockerfile b/test/packetdrill/Dockerfile
new file mode 100644
index 000000000..bd4451355
--- /dev/null
+++ b/test/packetdrill/Dockerfile
@@ -0,0 +1,9 @@
+FROM ubuntu:bionic
+
+RUN apt-get update
+RUN apt-get install -y net-tools git iptables iputils-ping netcat tcpdump jq tar
+RUN hash -r
+RUN git clone --branch packetdrill-v2.0 \
+ https://github.com/google/packetdrill.git
+RUN cd packetdrill/gtests/net/packetdrill && ./configure && \
+ apt-get install -y bison flex make && make