FROM alpine:3.20
RUN apk add --no-cache tcpdump
VOLUME [ "/data" ]
CMD [ "-w", "/data/all.pcap" ]
ENTRYPOINT [ "/usr/bin/tcpdump" ]