mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -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
|
# build stage
|
||||||
FROM golang:1.22-alpine3.20 AS build-env
|
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 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
|
WORKDIR $GOPATH/src/github.com/bettercap/bettercap
|
||||||
ADD . $SRC_DIR
|
ADD . $GOPATH/src/github.com/bettercap/bettercap
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
# get caplets
|
# get caplets
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue