FROM alpine:3.17

RUN apk add --no-cache tcpdump
VOLUME  [ "/data" ]

CMD [ "-w", "/data/all.pcap" ]
ENTRYPOINT [ "/usr/bin/tcpdump" ]
