mirror of
https://github.com/thelittlerocket/docker-zerotier.git
synced 2025-02-28 16:14:34 +08:00
9 lines
268 B
Docker
9 lines
268 B
Docker
FROM ubuntu:xenial
|
|
|
|
RUN apt-get update && apt-get install -y curl
|
|
RUN curl -L -o /tmp/zerotier-install.sh https://install.zerotier.com/ && bash /tmp/zerotier-install.sh || exit 0
|
|
|
|
COPY files/start.sh /opt/start.sh
|
|
RUN chmod 755 /opt/start.sh
|
|
|
|
ENTRYPOINT /opt/start.sh
|