-
Notifications
You must be signed in to change notification settings - Fork 20
/
Dockerfile
48 lines (41 loc) · 1.37 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM debian:bullseye-slim
RUN mkdir -p /root/packages
COPY entrypoint.sh /entrypoint.sh
COPY packages/*.deb /root/packages
RUN sed -i -e's/ main/ main contrib/g' /etc/apt/sources.list && \
apt-get update && apt-get --no-install-recommends -y install \
libsqlite3-0 \
libexpat1 \
redis-server \
librrd8 \
logrotate \
libcurl4 \
libpcap0.8 \
libldap-2.4-2 \
libhiredis0.14 \
libssl1.0 \
libmariadb3 \
librdkafka1 \
whiptail \
libnuma1 \
libnetfilter-queue1 \
lsb-release \
tar \
ethtool \
libcap2 \
bridge-utils \
libnetfilter-conntrack3 \
libzstd1 \
libmaxminddb0 \
libradcli4 \
libjson-c5 \
libsnmp40 \
udev \
libzmq5 \
libcurl3-gnutls \
net-tools \
curl \
procps && rm -rf /var/lib/apt/lists/*
RUN curl -Lo /tmp/geoipupdate_2.3.1-1_arm64.deb http://ftp.us.debian.org/debian/pool/contrib/g/geoipupdate/geoipupdate_2.3.1-1_arm64.deb
RUN dpkg -i /root/packages/*.deb && mkdir -p /etc/ntopng && echo "-i=br0\n-n=1\n-W=3001" >> /etc/ntopng/ntopng.conf && chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]