1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 18:51:24 +00:00
dockerfiles/n2n/arm/Dockerfile

24 lines
603 B
Docker
Raw Normal View History

2019-07-07 01:49:36 +00:00
#
# Dockerfile for n2n-arm
#
2019-10-01 03:49:29 +00:00
FROM arm32v7/debian:buster
2019-07-07 01:49:36 +00:00
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update \
2019-07-09 17:20:00 +00:00
&& apt install -y gnupg iptables lsb-release net-tools wget \
2019-07-07 01:49:36 +00:00
&& wget -qO- http://packages.ntop.org/apt/ntop.key | apt-key add - \
&& { \
2019-10-01 03:49:29 +00:00
echo "deb http://apt.ntop.org/buster_pi armhf/"; \
echo "deb http://apt.ntop.org/buster_pi all/"; \
2019-07-07 01:49:36 +00: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"]