File tree 4 files changed +22
-15
lines changed
4 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 1
1
target /
2
2
* .pcap
3
+ .github
4
+
3
5
docker-compose.yml
6
+ Dockerfile
7
+ .dockerignore
Original file line number Diff line number Diff line change 1
- FROM ubuntu:22.04
1
+ FROM ubuntu:22.04 as build
2
2
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
4
6
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
12
9
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
15
13
16
14
COPY elasticsearch_init.sh elasticsearch_init.sh
17
15
COPY arkime-viewer.sh arkime-viewer.sh
18
16
COPY arkime-capture.sh arkime-capture.sh
19
17
COPY docker-entrypoint.sh docker-entrypoint.sh
20
18
COPY config.ini /opt/arkime/etc/config.ini
21
19
22
- ENTRYPOINT /docker-entrypoint.sh
20
+
21
+ FROM scratch
22
+ WORKDIR /EnoArkime
23
+ ENTRYPOINT /EnoArkime/docker-entrypoint.sh
24
+ COPY --from=build / /
Original file line number Diff line number Diff line change 12
12
# 3rd) The section titled "default" is used last.
13
13
14
14
[default]
15
+ authMode =anonymous
15
16
# Comma seperated list of elasticsearch host:port combinations. If not using a
16
17
# Elasticsearch load balancer, a different elasticsearch node in the cluster can be specified
17
18
# for each Arkime node to help spread load on high volume clusters. For user/password
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
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 &
6
6
wait
You can’t perform that action at this time.
0 commit comments