1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-07 23:51:21 +00:00
dockerfiles/n2n/Dockerfile
2019-10-01 11:51:50 +08:00

21 lines
439 B
Docker

#
# Dockerfile for n2n
#
FROM debian:buster
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update \
&& apt install -y gnupg iptables lsb-release net-tools wget \
&& wget http://apt.ntop.org/buster/all/apt-ntop.deb \
&& dpkg -i apt-ntop.deb \
&& apt update \
&& apt install -y n2n \
&& rm -rf apt-ntop.deb /var/lib/apt/lists/*
EXPOSE 5645/udp 7654/udp
ENTRYPOINT ["supernode"]
CMD ["-l", "7654"]