diff options
author | Joseph Henry <josephjah@gmail.com> | 2015-11-20 01:08:38 -0800 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2015-11-20 01:08:38 -0800 |
commit | 1f27022fa75b71ce7da63ffa47b457622e74d6a1 (patch) | |
tree | 4c562cf1fc12d2fbd3691f01859882f196b3a910 /netcon/docker-test/httpd/httpd-2.4.16-1.fc23.x86_64/netcon_dockerfile | |
parent | 9a25a627bba4a00465a3648b82fc89f61b980ed1 (diff) | |
download | infinitytier-1f27022fa75b71ce7da63ffa47b457622e74d6a1.tar.gz infinitytier-1f27022fa75b71ce7da63ffa47b457622e74d6a1.zip |
Test/Code Refactor in preparation for merge
Diffstat (limited to 'netcon/docker-test/httpd/httpd-2.4.16-1.fc23.x86_64/netcon_dockerfile')
-rw-r--r-- | netcon/docker-test/httpd/httpd-2.4.16-1.fc23.x86_64/netcon_dockerfile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/netcon/docker-test/httpd/httpd-2.4.16-1.fc23.x86_64/netcon_dockerfile b/netcon/docker-test/httpd/httpd-2.4.16-1.fc23.x86_64/netcon_dockerfile new file mode 100644 index 00000000..bc7aeb29 --- /dev/null +++ b/netcon/docker-test/httpd/httpd-2.4.16-1.fc23.x86_64/netcon_dockerfile @@ -0,0 +1,41 @@ +# ZT Network Containers Test +FROM fedora:23 +MAINTAINER https://www.zerotier.com/ + +# Install apps +RUN yum -y update +RUN yum -y install httpd-2.4.16-1.fc23.x86_64 +RUN yum clean all + +EXPOSE 9993/udp + +# Install syscall intercept library +ADD zerotier-intercept / +ADD libzerotierintercept.so.1.0 / +RUN cp libzerotierintercept.so.1.0 lib/libzerotierintercept.so.1.0 +RUN cp libzerotierintercept.so.1.0 /lib/libzerotierintercept.so.1.0 +RUN ln -sf /lib/libzerotierintercept.so.1.0 /lib/libzerotierintercept +RUN /usr/bin/install -c zerotier-intercept /usr/bin + +# Add ZT files +RUN mkdir -p /var/lib/zerotier-one/networks.d +ADD netcon_identity.public /var/lib/zerotier-one/identity.public +ADD netcon_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 test scripts +ADD netcon_entrypoint.sh /netcon_entrypoint.sh +RUN chmod -v +x /netcon_entrypoint.sh + +# 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 +CMD ["./netcon_entrypoint.sh"] |