# Lightweight Python image for pcap analysis FROM python:3.12-slim RUN apt-get update && apt-get install -y --no-install-recommends \ libpcap-dev \ && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir \ scapy \ numpy \ matplotlib COPY tests/scripts/ /opt/analysis/scripts/ WORKDIR /opt/analysis ENTRYPOINT ["python3"]