mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
Merge pull request #648 from nipsufn/bettercap-644
Dockerfile: fix issue #644 and following problems
This commit is contained in:
commit
63d5ce7118
1 changed files with 1 additions and 3 deletions
|
@ -8,8 +8,6 @@ RUN apk add --no-cache --update bash iptables wireless-tools build-base libpcap-
|
|||
|
||||
WORKDIR $SRC_DIR
|
||||
ADD . $SRC_DIR
|
||||
RUN go get -u github.com/golang/dep/...
|
||||
RUN make deps
|
||||
RUN make
|
||||
|
||||
# get caplets
|
||||
|
@ -21,7 +19,7 @@ FROM alpine
|
|||
RUN apk add --update ca-certificates
|
||||
RUN apk add --no-cache --update bash iproute2 libpcap libusb-dev libnetfilter_queue wireless-tools
|
||||
COPY --from=build-env /go/src/github.com/bettercap/bettercap/bettercap /app/
|
||||
COPY --from=build-env /go/src/github.com/bettercap/bettercap/caplets /app/
|
||||
COPY --from=build-env /usr/local/share/bettercap/caplets /app/
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 80 443 53 5300 8080 8081 8082 8083 8000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue