-
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.
- Loading branch information
1 parent
d09d8f3
commit 63ba0e4
Showing
4 changed files
with
22 additions
and
15 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,3 +1,7 @@ | ||
target/ | ||
*.pcap | ||
.github | ||
|
||
docker-compose.yml | ||
Dockerfile | ||
.dockerignore |
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,22 +1,24 @@ | ||
FROM ubuntu:22.04 | ||
FROM ubuntu:22.04 as build | ||
|
||
ENV VERSION=4.5.0 | ||
ENV VERSION=5.1.0 | ||
ADD https://www.wireshark.org/download/automated/data/manuf /opt/arkime/etc/oui.txt | ||
ADD https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.csv /opt/arkime/etc/ipv4-address-space.csv | ||
|
||
ADD https://s3.amazonaws.com/files.molo.ch/builds/ubuntu-22.04/arkime_${VERSION}-1_amd64.deb . | ||
RUN apt update && \ | ||
apt install -y htop nano tree curl libwww-perl libjson-perl ethtool libyaml-dev liblua5.4-0 libmaxminddb0 libcurl4 libpcap0.8 libglib2.0-0 libnghttp2-14 libyara8 librdkafka1 && \ | ||
dpkg -i arkime_${VERSION}-1_amd64.deb && \ | ||
apt install -y libmagic-dev && \ | ||
rm -rf arkime_$VERSION-1_amd64.deb && \ | ||
rm -rf /var/lib/apt/lists/* | ||
RUN apt-get update && \ | ||
apt-get install -y libwww-perl libjson-perl ethtool libyaml-dev liblua5.4-0 libmaxminddb0 libcurl4 libpcap0.8 libglib2.0-0 libnghttp2-14 libyara8 librdkafka1 curl | ||
|
||
RUN curl https://fossies.org/linux/misc/wireshark-4.0.8.tar.xz/wireshark-4.0.8/manuf?m=b > /opt/arkime/etc/oui.txt | ||
RUN curl https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.csv > /opt/arkime/etc/ipv4-address-space.csv | ||
WORKDIR /EnoArkime | ||
ADD https://github.com/arkime/arkime/releases/download/v$VERSION/arkime_$VERSION-1.ubuntu2204_amd64.deb . | ||
RUN dpkg -i ./*.deb; apt-get install -fy && rm -rf /var/lib/apt/lists/* && rm *.deb | ||
|
||
COPY elasticsearch_init.sh elasticsearch_init.sh | ||
COPY arkime-viewer.sh arkime-viewer.sh | ||
COPY arkime-capture.sh arkime-capture.sh | ||
COPY docker-entrypoint.sh docker-entrypoint.sh | ||
COPY config.ini /opt/arkime/etc/config.ini | ||
|
||
ENTRYPOINT /docker-entrypoint.sh | ||
|
||
FROM scratch | ||
WORKDIR /EnoArkime | ||
ENTRYPOINT /EnoArkime/docker-entrypoint.sh | ||
COPY --from=build / / |
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
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,6 +1,6 @@ | ||
#!/bin/sh | ||
|
||
bash /elasticsearch_init.sh || exit 1 | ||
sh /arkime-capture.sh & | ||
sh /arkime-viewer.sh & | ||
bash ./elasticsearch_init.sh || exit 1 | ||
sh ./arkime-capture.sh & | ||
sh ./arkime-viewer.sh & | ||
wait |