Skip to content

Commit 58b9f48

Browse files
committed
5.1.0
1 parent d09d8f3 commit 58b9f48

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
target/
22
*.pcap
3+
.github
4+
35
docker-compose.yml
6+
Dockerfile
7+
.dockerignore

Dockerfile

+14-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:22.04 as build
22

3-
ENV VERSION=4.5.0
3+
ENV VERSION=5.1.0
4+
ADD https://www.wireshark.org/download/automated/data/manuf /opt/arkime/etc/oui.txt
5+
ADD https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.csv /opt/arkime/etc/ipv4-address-space.csv
46

5-
ADD https://s3.amazonaws.com/files.molo.ch/builds/ubuntu-22.04/arkime_${VERSION}-1_amd64.deb .
6-
RUN apt update && \
7-
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 && \
8-
dpkg -i arkime_${VERSION}-1_amd64.deb && \
9-
apt install -y libmagic-dev && \
10-
rm -rf arkime_$VERSION-1_amd64.deb && \
11-
rm -rf /var/lib/apt/lists/*
7+
RUN apt-get update && \
8+
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
129

13-
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
14-
RUN curl https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.csv > /opt/arkime/etc/ipv4-address-space.csv
10+
WORKDIR /EnoArkime
11+
ADD https://github.com/arkime/arkime/releases/download/v$VERSION/arkime_$VERSION-1.ubuntu2204_amd64.deb .
12+
RUN dpkg -i ./*.deb; apt-get install -fy && rm -rf /var/lib/apt/lists/* && rm *.deb
1513

1614
COPY elasticsearch_init.sh elasticsearch_init.sh
1715
COPY arkime-viewer.sh arkime-viewer.sh
1816
COPY arkime-capture.sh arkime-capture.sh
1917
COPY docker-entrypoint.sh docker-entrypoint.sh
2018
COPY config.ini /opt/arkime/etc/config.ini
2119

22-
ENTRYPOINT /docker-entrypoint.sh
20+
21+
FROM scratch
22+
WORKDIR /EnoArkime
23+
ENTRYPOINT /EnoArkime/docker-entrypoint.sh
24+
COPY --from=build / /

config.ini

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# 3rd) The section titled "default" is used last.
1313

1414
[default]
15+
authMode=anonymous
1516
# Comma seperated list of elasticsearch host:port combinations. If not using a
1617
# Elasticsearch load balancer, a different elasticsearch node in the cluster can be specified
1718
# for each Arkime node to help spread load on high volume clusters. For user/password

docker-entrypoint.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
bash /elasticsearch_init.sh || exit 1
4-
sh /arkime-capture.sh &
5-
sh /arkime-viewer.sh &
3+
bash ./elasticsearch_init.sh || exit 1
4+
sh ./arkime-capture.sh &
5+
sh ./arkime-viewer.sh &
66
wait

0 commit comments

Comments
 (0)