mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:02 +02:00
24 lines
603 B
Docker
24 lines
603 B
Docker
#
|
|
# Dockerfile for n2n-arm
|
|
#
|
|
|
|
FROM arm32v7/debian:buster
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
RUN set -xe \
|
|
&& apt update \
|
|
&& apt install -y gnupg iptables lsb-release net-tools wget \
|
|
&& wget -qO- http://packages.ntop.org/apt/ntop.key | apt-key add - \
|
|
&& { \
|
|
echo "deb http://apt.ntop.org/buster_pi armhf/"; \
|
|
echo "deb http://apt.ntop.org/buster_pi all/"; \
|
|
} > /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"]
|