1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/bro/Dockerfile

22 lines
644 B
Docker
Raw Normal View History

2015-06-22 09:35:21 +02:00
#
# Dockerfile for bro
#
FROM debian:jessie
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
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"]