Files
Parth SarthiandgVisor bot ec1c8d23f2 packetdrill: Fix packetdrill test script
packetdrill_test.sh:
- Find the interface tied with the TEST network instead of assuming `eth2`.
- Set packetdrill ip_version to ipv4 as the
      test assumes ipv4 while creating docker networks.
- Linter related fixes.

packetdrill/Dockerfile:
- Update to Ubuntu24.04
- Install `iproute`, easier to parse interface name
      with iproute than with ifconfig.

PiperOrigin-RevId: 828824051
2025-11-06 00:23:51 -08:00

8 lines
330 B
Docker

FROM ubuntu:24.04
RUN apt-get update && apt-get install -y net-tools git iptables iputils-ping \
netcat-traditional tcpdump jq tar bison flex make iproute2
# Pick up updated git.
RUN hash -r
RUN git clone --depth 1 https://github.com/google/packetdrill.git
RUN cd packetdrill/gtests/net/packetdrill && ./configure && make