1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-22 05:09:09 +02:00
dockerfiles/n2n/Dockerfile

21 lines
439 B
Docker
Raw Normal View History

2019-05-30 19:39:48 +08:00
#
# Dockerfile for n2n
#
2019-10-01 11:51:50 +08:00
FROM debian:buster
2019-05-30 19:39:48 +08:00
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update \
2019-07-10 01:20:00 +08:00
&& apt install -y gnupg iptables lsb-release net-tools wget \
2019-10-01 11:51:50 +08:00
&& wget http://apt.ntop.org/buster/all/apt-ntop.deb \
2019-05-30 19:39:48 +08:00
&& dpkg -i apt-ntop.deb \
&& apt update \
&& apt install -y n2n \
&& rm -rf apt-ntop.deb /var/lib/apt/lists/*
2019-05-30 19:47:52 +08:00
EXPOSE 5645/udp 7654/udp
2019-05-30 19:39:48 +08:00
ENTRYPOINT ["supernode"]
2019-05-30 23:24:11 +08:00
CMD ["-l", "7654"]