This commit is contained in:
evilsocket 2018-01-13 20:07:29 +01:00
parent 23961c81f5
commit 2b7aae7b1f
2 changed files with 3 additions and 4 deletions

View file

@ -2,13 +2,12 @@ FROM iron/go:dev
MAINTAINER Simone Margaritelli <https://evilsocket.net/>
ENV SRC_DIR=/gocode/src/github.com/evilsocket/bettercap-ng
COPY . $SRC_DIR
WORKDIR $SRC_DIR
ADD . $SRC_DIR
RUN apk add --update ca-certificates
RUN apk add --no-cache --update bash build-base libpcap-dev
RUN cd $SRC_DIR
RUN make deps
RUN make

View file

@ -29,7 +29,7 @@ type Queue struct {
handle *pcap.Handle
source *gopacket.PacketSource
lock *sync.Mutex
active bool `json:"-"`
active bool
Activities chan Activity `json:"-"`
Sent uint64