mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -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
|
WORKDIR $SRC_DIR
|
||||||
ADD . $SRC_DIR
|
ADD . $SRC_DIR
|
||||||
RUN go get -u github.com/golang/dep/...
|
|
||||||
RUN make deps
|
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
# get caplets
|
# get caplets
|
||||||
|
@ -21,7 +19,7 @@ FROM alpine
|
||||||
RUN apk add --update ca-certificates
|
RUN apk add --update ca-certificates
|
||||||
RUN apk add --no-cache --update bash iproute2 libpcap libusb-dev libnetfilter_queue wireless-tools
|
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/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
|
WORKDIR /app
|
||||||
|
|
||||||
EXPOSE 80 443 53 5300 8080 8081 8082 8083 8000
|
EXPOSE 80 443 53 5300 8080 8081 8082 8083 8000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue