Skip to content

Commit

Permalink
bump Moloch to 2.4.0, switch to prebuilt .deb
Browse files Browse the repository at this point in the history
  • Loading branch information
ldruschk authored and Trolldemorted committed Oct 2, 2020
1 parent 3fa9b6f commit 78bc889
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
FROM ubuntu:18.04
MAINTAINER Andy Wick <[email protected]>
FROM ubuntu:20.04

#ADD moloch_2.4.0-1_amd64.deb .
ADD https://s3.amazonaws.com/files.molo.ch/builds/ubuntu-20.04/moloch_2.4.0-1_amd64.deb .
RUN apt-get update && \
apt-get install -y lsb-release ruby-dev make python-pip git libtest-differences-perl sudo wget && \
(cd /tmp && wget https://packages.ntop.org/apt-stable/18.04/all/apt-ntop-stable.deb && dpkg -i apt-ntop-stable.deb) && \
apt-get update && \
apt-get install -y pfring && \
gem install --no-ri --no-rdoc fpm && \
git clone https://github.com/aol/moloch && \
(cd moloch ; ./easybutton-build.sh --daq --pfring --install) && \
mv moloch/thirdparty / && \
rm -rf moloch && \
apt-get install -y curl libwww-perl libjson-perl ethtool libyaml-dev && \
dpkg -i moloch_2.4.0-1_amd64.deb && \
apt-get install -y libmagic-dev && \
rm -rf moloch_2.4.0-1_amd64.deb && \
rm -rf /var/lib/apt/lists/*

WORKDIR /data/moloch
RUN curl https://raw.githubusercontent.com/maxmind/MaxMind-DB/master/test-data/GeoIP2-Anonymous-IP-Test.mmdb > /data/moloch/etc/GeoLite2-Country.mmdb
RUN curl https://raw.githubusercontent.com/wireshark/wireshark/master/manuf > /data/moloch/etc/oui.txt
RUN mkdir raw


COPY *.sh ./
COPY config.default.ini ./etc/config.ini

Expand Down

0 comments on commit 78bc889

Please sign in to comment.