mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 14:03:17 -07:00
fix: modified Dockerile to fix #106
This commit is contained in:
parent
0526896c90
commit
1453ea78be
1 changed files with 7 additions and 0 deletions
|
@ -9,6 +9,13 @@ WORKDIR $SRC_DIR
|
|||
|
||||
RUN apk add --update ca-certificates
|
||||
RUN apk add --no-cache --update bash iptables build-base libpcap-dev
|
||||
|
||||
# As Alpine Linux uses a different folder, we need this
|
||||
# ugly hack in order to compile gopacket statically
|
||||
# https://github.com/bettercap/bettercap/issues/106
|
||||
RUN mkdir -p /usr/lib/x86_64-linux-gnu/
|
||||
RUN cp /usr/lib/libpcap.a /usr/lib/x86_64-linux-gnu/libpcap.a
|
||||
|
||||
RUN make deps
|
||||
RUN make
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue