mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
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
8 lines
330 B
Docker
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
|