Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ FROM centos:latest
RUN yum -y install epel-release
RUN yum -y update && \
yum -y install sudo supervisor git cmake make gcc gcc-c++ flex bison libpcap-devel openssl-devel python-devel swig zlib-devel GeoIP-devel libpcap gperftools vim-minimal wget kernel-headers kernel-devel kernel hiredis-devel
RUN wget https://www.bro.org/downloads/bro-2.5.tar.gz && \
tar xzf bro-2.5.tar.gz && \
cd bro-2.5 && \
RUN wget https://www.bro.org/downloads/bro-2.5.4.tar.gz && \
tar xzf bro-2.5.4.tar.gz && \
cd bro-2.5.4 && \
#split the configure and make \
./configure && \
make install

RUN cd /bro-2.5/aux/plugins && \
RUN cd /bro-2.5.4/aux/plugins && \
make build-redis && \
cd /bro-2.5/aux/plugins/redis && \
cd /bro-2.5.4/aux/plugins/redis && \
./configure && \
make && \
make install && \
Expand All @@ -24,7 +24,7 @@ RUN yum upgrade
RUN yum -y install --enablerepo=C7.3.1611-base "kernel-devel-uname-r == $(uname -r)" && \
git clone https://github.com/J-Gras/bro-af_packet-plugin.git && \
cd bro-af_packet-plugin && \
./configure --bro-dist=/bro-2.5 && \
./configure --bro-dist=/bro-2.5.4 && \
make && \
make install && \
yum -y clean all
Expand Down