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

21 lines
443 B
Docker
Raw Normal View History

2019-05-30 19:39:48 +08:00
#
# Dockerfile for n2n
#
2023-10-20 18:21:41 +08:00
FROM debian:bookworm
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 \
2023-10-20 18:21:41 +08:00
&& wget http://apt.ntop.org/bookworm/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"]