summaryrefslogtreecommitdiffhomepage
path: root/images/packetdrill
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2020-09-11 01:55:59 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-11 01:57:42 -0700
commit964447c8ce1ba4f3c7413e90069a045fe0877c2a (patch)
treef53c64671dc03479577ed8ad3dea08dbf0330307 /images/packetdrill
parent365545855f7713236d77d3e263ad09ebffa85bb2 (diff)
Clean up image construction
- Skip `docker inspect`; `docker pull` is idempotent - Remove unnecessary CMD directives in Dockerfiles - Run bazel before building images to catch errors sooner PiperOrigin-RevId: 331107815
Diffstat (limited to 'images/packetdrill')
-rw-r--r--images/packetdrill/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/packetdrill/Dockerfile b/images/packetdrill/Dockerfile
index 01296dbaf..b4cd73006 100644
--- a/images/packetdrill/Dockerfile
+++ b/images/packetdrill/Dockerfile
@@ -1,8 +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
+# Pick up updated git.
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