Skip to content

Commit 778ca47

Browse files
Merge pull request #27 from activecm/wls_docker_update
Update Dockerfile so scapy can find libpcap
2 parents f1ff084 + 63157f3 commit 778ca47

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:2.7-alpine
1+
FROM python:3.9-alpine
22

33
# Shorten common strings
44
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
1111
ADD $GH/nmap/nmap/master/nmap-service-probes $USR/nmap/nmap-service-probes
1212

1313
# tcpdump is needed by scapy to replay pcaps
14-
RUN apk update && apk add --no-cache tcpdump
14+
# binutils is needed for objdump
15+
# musl-utils is needed for ldconfig
16+
RUN apk update && apk add --no-cache tcpdump libpcap libpcap-dev musl-utils binutils
1517

1618
# Install and configure python libraries
1719
COPY requirements.txt /requirements.txt

0 commit comments

Comments
 (0)