mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
fix: fixed docker build
This commit is contained in:
parent
856c0d5a7d
commit
107c8fdf99
1 changed files with 3 additions and 5 deletions
|
@ -1,13 +1,11 @@
|
|||
# build stage
|
||||
FROM golang:1.22-alpine3.20 AS build-env
|
||||
|
||||
ENV SRC_DIR $GOPATH/src/github.com/bettercap/bettercap
|
||||
|
||||
RUN apk add --no-cache ca-certificates
|
||||
RUN apk add --no-cache bash gcc g++ binutils iptables wireless-tools build-base libpcap-dev libusb-dev linux-headers libnetfilter_queue-dev git
|
||||
RUN apk add --no-cache bash gcc g++ binutils-gold iptables wireless-tools build-base libpcap-dev libusb-dev linux-headers libnetfilter_queue-dev git
|
||||
|
||||
WORKDIR $SRC_DIR
|
||||
ADD . $SRC_DIR
|
||||
WORKDIR $GOPATH/src/github.com/bettercap/bettercap
|
||||
ADD . $GOPATH/src/github.com/bettercap/bettercap
|
||||
RUN make
|
||||
|
||||
# get caplets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue