summaryrefslogtreecommitdiff
path: root/netcon/docker-test/nginx/nginx-1.8.0-ub14.x86_64/monitor_dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'netcon/docker-test/nginx/nginx-1.8.0-ub14.x86_64/monitor_dockerfile')
-rw-r--r--netcon/docker-test/nginx/nginx-1.8.0-ub14.x86_64/monitor_dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/netcon/docker-test/nginx/nginx-1.8.0-ub14.x86_64/monitor_dockerfile b/netcon/docker-test/nginx/nginx-1.8.0-ub14.x86_64/monitor_dockerfile
new file mode 100644
index 00000000..d2d2a0cb
--- /dev/null
+++ b/netcon/docker-test/nginx/nginx-1.8.0-ub14.x86_64/monitor_dockerfile
@@ -0,0 +1,24 @@
+# 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 /
+
+# Install LWIP library used by service
+ADD liblwip.so /var/lib/zerotier-one/liblwip.so
+
+ADD zerotier-one /
+ADD zerotier-cli /
+
+# Start ZeroTier-One
+ADD monitor_entrypoint.sh /monitor_entrypoint.sh
+RUN chmod -v +x /monitor_entrypoint.sh
+CMD ["./monitor_entrypoint.sh"]