forked from ntop/docker-ntop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.ntopng.dev
26 lines (20 loc) · 916 Bytes
/
Dockerfile.ntopng.dev
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
FROM ubuntu:22.04
MAINTAINER ntop.org
RUN apt-get update && \
apt-get -y -q install wget lsb-release gnupg libelf1 && \
wget -q http://apt.ntop.org/22.04/all/apt-ntop.deb && \
dpkg -i apt-ntop.deb && \
apt-get clean all
RUN apt-get update && \
apt-get -y -q install apt-transport-https ca-certificates dirmngr && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8919F6BD2B48D754 && \
echo "deb https://packages.clickhouse.com/deb stable main" | tee /etc/apt/sources.list.d/clickhouse.list && \
apt-get update && \
apt-get -y -q install clickhouse-client
RUN apt-get update && \
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get -y install ntopng ntopng-data
RUN echo '#!/bin/bash\n/etc/init.d/redis-server start\nntopng "$@" $NTOP_CONFIG' > /run.sh && \
chmod +x /run.sh
EXPOSE 3000
ENTRYPOINT ["/run.sh"]