monitor_dockerfile 703 B

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