1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
dockerfiles/n2n/Dockerfile
2019-07-10 01:20:00 +08:00

21 lines
441 B
Docker

#
# Dockerfile for n2n
#
FROM debian:stretch
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update \
&& apt install -y gnupg iptables lsb-release net-tools wget \
&& wget http://apt.ntop.org/stretch/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"]