mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-27 00:21:05 +00:00
26 lines
676 B
Plaintext
26 lines
676 B
Plaintext
|
# ZT Network Containers Test Monitor
|
||
|
FROM fedora:23
|
||
|
MAINTAINER https://www.zerotier.com/
|
||
|
|
||
|
EXPOSE 9993/udp
|
||
|
|
||
|
# Add ZT files
|
||
|
RUN mkdir -p /var/lib/zerotier-one/networks.d
|
||
|
ADD monitor_identity.public /var/lib/zerotier-one/identity.public
|
||
|
ADD monitor_identity.secret /var/lib/zerotier-one/identity.secret
|
||
|
ADD *.conf /var/lib/zerotier-one/networks.d/
|
||
|
ADD *.conf /
|
||
|
ADD *.name /
|
||
|
ADD zerotier-one /
|
||
|
ADD zerotier-cli /
|
||
|
|
||
|
# Install LWIP library used by service
|
||
|
ADD liblwip.so /
|
||
|
RUN mkdir -p ext/bin/lwip
|
||
|
RUN cp liblwip.so ext/bin/lwip/liblwip.so
|
||
|
|
||
|
# Start ZeroTier-One
|
||
|
ADD monitor_entrypoint.sh /monitor_entrypoint.sh
|
||
|
RUN chmod -v +x /monitor_entrypoint.sh
|
||
|
CMD ["./monitor_entrypoint.sh"]
|