mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-30 18:51:24 +00:00
update ntopng
This commit is contained in:
parent
5705084f6d
commit
739515e64f
@ -3,14 +3,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
&& apt install -y wget lsb-release gnupg libjson-c3 \
|
&& apt install -y curl gnupg libjson-c3 \
|
||||||
&& wget -q http://apt-stable.ntop.org/18.04/all/apt-ntop-stable.deb \
|
&& curl -sSL http://packages.ntop.org/apt-stable/ntop.key | apt-key add - \
|
||||||
&& dpkg -i apt-ntop-stable.deb \
|
&& { \
|
||||||
|
echo "deb http://packages.ntop.org/apt/18.04/ x64/"; \
|
||||||
|
echo "deb http://packages.ntop.org/apt/18.04/ all/"; \
|
||||||
|
} > /etc/apt/sources.list.d/ntop.list \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
&& apt install -y ntopng \
|
&& apt install -y ntopng \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
@ -19,8 +21,11 @@ VOLUME /var/lib/ntopng
|
|||||||
|
|
||||||
EXPOSE 3000 5556
|
EXPOSE 3000 5556
|
||||||
|
|
||||||
CMD ntopng --http-port 0.0.0.0:3000 \
|
ENTRYPOINT ["ntopng"]
|
||||||
--interface tcp://0.0.0.0:5556c \
|
CMD [ \
|
||||||
--data-dir /var/lib/ntopng \
|
"--http-port", "0.0.0.0:3000", \
|
||||||
--redis redis \
|
"--interface", "tcp://0.0.0.0:5556c", \
|
||||||
--community
|
"--data-dir", "/var/lib/ntopng", \
|
||||||
|
"--redis", "redis", \
|
||||||
|
"--community" \
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user