mirror of
https://github.com/zyclonite/zerotier-docker.git
synced 2024-12-14 02:11:26 +01:00
23 lines
446 B
Docker
23 lines
446 B
Docker
ARG ALPINE_IMAGE=alpine
|
|
ARG ALPINE_VERSION=3.15
|
|
ARG ZT_COMMIT=eac56a2e25bbd27f77505cbd0c21b86abdfbd36b
|
|
ARG ZT_VERSION=1.8.4
|
|
|
|
FROM zyclonite/zerotier
|
|
|
|
RUN apk add --no-cache --purge --clean-protected --update supervisor iptables \
|
|
&& mkdir -p /var/log/supervisor \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
ENV LOG_PATH=/var/log/supervisor \
|
|
BRIDGE=false
|
|
|
|
COPY conf /opt
|
|
COPY scripts /opt
|
|
|
|
EXPOSE 9993/udp
|
|
|
|
ENTRYPOINT ["/opt/entrypoint.sh"]
|
|
|
|
CMD ["-U"]
|