Skip to content

Commit

Permalink
Merge pull request #27 from activecm/wls_docker_update
Browse files Browse the repository at this point in the history
Update Dockerfile so scapy can find libpcap
  • Loading branch information
william-stearns authored Feb 16, 2023
2 parents f1ff084 + 63157f3 commit 778ca47
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:2.7-alpine
FROM python:3.9-alpine

# Shorten common strings
ARG GH=https://raw.githubusercontent.com
Expand All @@ -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
Expand Down

0 comments on commit 778ca47

Please sign in to comment.