diff --git a/Dockerfile b/Dockerfile index 8b299b8e..72fdc4b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,12 @@ FROM iron/go:dev MAINTAINER Simone Margaritelli 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 diff --git a/packets/queue.go b/packets/queue.go index 83a286ec..731ddd2e 100644 --- a/packets/queue.go +++ b/packets/queue.go @@ -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