2019-05-30 13:39:48 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for n2n
|
|
|
|
#
|
|
|
|
|
2019-10-01 05:51:50 +02:00
|
|
|
FROM debian:buster
|
2019-05-30 13:39:48 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
|
|
|
RUN set -xe \
|
|
|
|
&& apt update \
|
2019-07-09 19:20:00 +02:00
|
|
|
&& apt install -y gnupg iptables lsb-release net-tools wget \
|
2019-10-01 05:51:50 +02:00
|
|
|
&& wget http://apt.ntop.org/buster/all/apt-ntop.deb \
|
2019-05-30 13:39:48 +02:00
|
|
|
&& dpkg -i apt-ntop.deb \
|
|
|
|
&& apt update \
|
|
|
|
&& apt install -y n2n \
|
|
|
|
&& rm -rf apt-ntop.deb /var/lib/apt/lists/*
|
|
|
|
|
2019-05-30 13:47:52 +02:00
|
|
|
EXPOSE 5645/udp 7654/udp
|
2019-05-30 13:39:48 +02:00
|
|
|
|
|
|
|
ENTRYPOINT ["supernode"]
|
2019-05-30 17:24:11 +02:00
|
|
|
CMD ["-l", "7654"]
|