mirror of
https://github.com/thelittlerocket/docker-zerotier.git
synced 2024-12-26 17:02:05 +08:00
10 lines
350 B
Docker
10 lines
350 B
Docker
FROM ubuntu:focal
|
|
|
|
RUN apt-get update && apt-get install -y curl screen supervisor gnupg
|
|
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
|
|
COPY files/start.sh /opt/start.sh
|
|
RUN chmod 755 /opt/start.sh
|
|
|
|
ENTRYPOINT /opt/start.sh
|