monitor_dockerfile 676 B

1234567891011121314151617181920212223242526
  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. ADD zerotier-one /
  13. ADD zerotier-cli /
  14. # Install LWIP library used by service
  15. ADD liblwip.so /
  16. RUN mkdir -p ext/bin/lwip
  17. RUN cp liblwip.so ext/bin/lwip/liblwip.so
  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"]