1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/n2n/arm/Dockerfile

24 lines
595 B
Docker
Raw Normal View History

2019-07-07 03:49:36 +02:00
#
# Dockerfile for n2n-arm
#
2023-10-20 12:21:41 +02:00
FROM 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"]