From 63157f317ba948e8e598991cf1a5166b4c8be892 Mon Sep 17 00:00:00 2001 From: William Stearns Date: Wed, 15 Feb 2023 23:34:20 -0500 Subject: [PATCH] Update Dockerfile so scapy can find libpcap --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7d8d94e..e5c8ffa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:2.7-alpine +FROM python:3.9-alpine # Shorten common strings ARG GH=https://raw.githubusercontent.com @@ -11,7 +11,9 @@ ADD $GH/royhills/arp-scan/master/ieee-oui.txt $USR/arp-scan/ieee-oui.t ADD $GH/nmap/nmap/master/nmap-service-probes $USR/nmap/nmap-service-probes # tcpdump is needed by scapy to replay pcaps -RUN apk update && apk add --no-cache tcpdump +# binutils is needed for objdump +# musl-utils is needed for ldconfig +RUN apk update && apk add --no-cache tcpdump libpcap libpcap-dev musl-utils binutils # Install and configure python libraries COPY requirements.txt /requirements.txt