2019-07-07 03:49:36 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for n2n-arm
|
|
|
|
#
|
|
|
|
|
2019-10-01 05:49:29 +02:00
|
|
|
FROM arm32v7/debian:buster
|
2019-07-07 03:49:36 +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-07-07 03:49:36 +02:00
|
|
|
&& wget -qO- http://packages.ntop.org/apt/ntop.key | apt-key add - \
|
|
|
|
&& { \
|
2019-10-01 05:49:29 +02:00
|
|
|
echo "deb http://apt.ntop.org/buster_pi armhf/"; \
|
|
|
|
echo "deb http://apt.ntop.org/buster_pi all/"; \
|
2019-07-07 03:49:36 +02:00
|
|
|
} > /etc/apt/sources.list.d/ntop.list \
|
|
|
|
&& apt update \
|
|
|
|
&& apt install -y n2n \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
EXPOSE 5645/udp 7654/udp
|
|
|
|
|
|
|
|
ENTRYPOINT ["supernode"]
|
|
|
|
CMD ["-l", "7654"]
|