mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 14:03:17 -07:00
fix: added wireless-tools to Dockerfile (fixes #123)
This commit is contained in:
parent
49ec261c48
commit
eba4da1327
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ ENV SRC_DIR=/gocode/src/github.com/bettercap/bettercap
|
|||
# ugly hack in order to compile gopacket statically
|
||||
# https://github.com/bettercap/bettercap/issues/106
|
||||
RUN apk add --update ca-certificates && \
|
||||
apk add --no-cache --update bash iptables build-base libpcap-dev git python && \
|
||||
apk add --no-cache --update bash iptables wireless-tools build-base libpcap-dev git python && \
|
||||
mkdir -p /usr/lib/x86_64-linux-gnu/ && \
|
||||
cp /usr/lib/libpcap.a /usr/lib/x86_64-linux-gnu/libpcap.a
|
||||
|
||||
|
@ -22,4 +22,4 @@ RUN apk add --no-cache --update bash libpcap-dev
|
|||
COPY --from=build-env /gocode/src/github.com/bettercap/bettercap/bettercap /app/
|
||||
WORKDIR /app
|
||||
EXPOSE 80 443 53 5300 8080 8081 8082 8083 8000
|
||||
ENTRYPOINT ["/app/bettercap"]
|
||||
ENTRYPOINT ["/app/bettercap"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue