monitor_dockerfile 640 B

12345678910111213141516171819202122232425
  1. # ZT Network Containers Test Monitor
  2. FROM fedora:23
  3. MAINTAINER https://www.zerotier.com/
  4. EXPOSE 9993/udp
  5. # Add ZT files
  6. RUN mkdir -p /var/lib/zerotier-one/networks.d
  7. ADD monitor_identity.public /var/lib/zerotier-one/identity.public
  8. ADD monitor_identity.secret /var/lib/zerotier-one/identity.secret
  9. ADD *.conf /var/lib/zerotier-one/networks.d/
  10. ADD *.conf /
  11. ADD *.name /
  12. # Install LWIP library used by service
  13. ADD liblwip.so /var/lib/zerotier-one/liblwip.so
  14. ADD zerotier-one /
  15. ADD zerotier-cli /
  16. # Start ZeroTier-One
  17. ADD monitor_entrypoint.sh /monitor_entrypoint.sh
  18. RUN chmod -v +x /monitor_entrypoint.sh
  19. CMD ["./monitor_entrypoint.sh"]