summaryrefslogtreecommitdiffhomepage
path: root/images/packetimpact/Dockerfile
diff options
context:
space:
mode:
authorZeling Feng <zeling@google.com>2020-09-02 19:17:32 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-02 19:19:40 -0700
commit86c1ae095a95d2433b874d9b052ebcea6fab0e26 (patch)
tree31deeb446dfc35fdcb3f300f5a372f9894eb6923 /images/packetimpact/Dockerfile
parentb69352245ab729cc01088c8258a3167f069bd684 (diff)
Add support to run packetimpact tests against Fuchsia
blaze test <test_name>_fuchsia_test will run the corresponding packetimpact test against fuchsia. PiperOrigin-RevId: 329835290
Diffstat (limited to 'images/packetimpact/Dockerfile')
-rw-r--r--images/packetimpact/Dockerfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/images/packetimpact/Dockerfile b/images/packetimpact/Dockerfile
index 87aa99ef2..82b7e8abd 100644
--- a/images/packetimpact/Dockerfile
+++ b/images/packetimpact/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:bionic
+FROM ubuntu:focal
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
# iptables to disable OS native packet processing.
iptables \
@@ -11,6 +11,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
# tshark to log verbose packet sniffing.
tshark \
# killall for cleanup.
- psmisc
+ psmisc \
+ # qemu-system-x86 to emulate fuchsia.
+ qemu-system-x86 \
+ # sha1sum to generate entropy.
+ libdigest-sha-perl
RUN hash -r
CMD /bin/bash