docker-zerotier/Dockerfile

11 lines
350 B
Text
Raw Normal View History

2020-07-04 04:05:18 +08:00
FROM ubuntu:focal
2016-07-25 23:06:25 +08:00
2020-07-04 04:05:18 +08:00
RUN apt-get update && apt-get install -y curl screen supervisor gnupg
2016-07-25 23:06:25 +08:00
RUN curl -L -o /tmp/zerotier-install.sh https://install.zerotier.com/ && bash /tmp/zerotier-install.sh || exit 0
COPY files/supervisor-zerotier.conf /etc/supervisor/conf.d
2016-07-25 23:06:25 +08:00
COPY files/start.sh /opt/start.sh
RUN chmod 755 /opt/start.sh
2018-10-10 22:19:47 +08:00
ENTRYPOINT /opt/start.sh