Merge pull request #648 from nipsufn/bettercap-644

Dockerfile: fix issue #644 and following problems
This commit is contained in:
evilsocket 2019-11-13 02:23:01 +01:00 committed by GitHub
commit 63d5ce7118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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