fix: added wireless-tools to Dockerfile (fixes #123)

This commit is contained in:
evilsocket 2018-03-02 13:10:55 +01:00
commit eba4da1327

View file

@ -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"]