2015-06-22 09:35:21 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for bro
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM debian:jessie
|
2016-05-01 03:06:20 +02:00
|
|
|
MAINTAINER kev <noreply@easypi.info>
|
2015-06-22 09:35:21 +02:00
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y curl \
|
2015-06-22 09:42:37 +02:00
|
|
|
&& curl -sSL http://download.opensuse.org/repositories/network:bro/Debian_8.0/Release.key | apt-key add - \
|
2015-06-22 09:35:21 +02:00
|
|
|
&& echo 'deb http://download.opensuse.org/repositories/network:/bro/Debian_8.0/ /' > /etc/apt/sources.list.d/bro.list \
|
|
|
|
&& apt-get update \
|
|
|
|
&& apt-get install -y bro \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN echo 'export PATH=/opt/bro/bin:$PATH' >> /root/.bashrc
|
|
|
|
|
2015-06-22 10:11:00 +02:00
|
|
|
VOLUME /opt/bro/logs
|
2015-06-22 09:35:21 +02:00
|
|
|
WORKDIR /opt/bro/logs
|
2015-06-22 10:11:00 +02:00
|
|
|
ENV PATH /opt/bro/bin:$PATH
|
2015-06-22 09:35:21 +02:00
|
|
|
|
2015-07-01 11:53:47 +02:00
|
|
|
CMD ["bro", "--no-checksums", "--iface", "eth0"]
|