1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
dockerfiles/n2n/Dockerfile
2019-07-09 11:54:15 +08:00

21 lines
432 B
Docker

#
# Dockerfile for n2n
#
FROM debian:stretch
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update \
&& apt install -y gnupg 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"]