-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump Moloch to 2.4.0, switch to prebuilt .deb
- Loading branch information
1 parent
3fa9b6f
commit 78bc889
Showing
1 changed file
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|