diff options
author | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-27 21:16:02 -0400 |
---|---|---|
committer | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-27 21:16:02 -0400 |
commit | 299ec12b39d3ac2d3dcd34a6c8af1eef4fff0494 (patch) | |
tree | 8f873ce95d7bc80c83cc30e295f2b4bbe86229a1 /netcon | |
parent | b21c5d8e51e3e9bc234cfabee058352604603b03 (diff) | |
download | infinitytier-299ec12b39d3ac2d3dcd34a6c8af1eef4fff0494.tar.gz infinitytier-299ec12b39d3ac2d3dcd34a6c8af1eef4fff0494.zip |
Added docker-test folder
Diffstat (limited to 'netcon')
-rw-r--r-- | netcon/Dockerfile | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/netcon/Dockerfile b/netcon/Dockerfile deleted file mode 100644 index 2c183b0f..00000000 --- a/netcon/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# A basic harnessed application example using ZeroTier-One and user-space IP stack -FROM fedora:20 - -MAINTAINER https://www.zerotier.com/ - -# Add files -ADD ZeroTierOneInstaller-linux-x64-1_0_5 / -ADD zerotier-one / -ADD intercept / -ADD lib/libintercept.so.1.0 / -ADD lib/liblwip.so / - -# Install sys-call intercept library -RUN cp libintercept.so.1.0 /lib/libintercept.so.1.0 -RUN ln -sf /lib/libintercept.so.1.0 /lib/libintercept -RUN /usr/bin/install -c intercept /usr/bin - -# Install Apache -RUN yum -y update && yum clean all -RUN yum -y install httpd && yum clean all -RUN echo "Apache" >> /var/www/html/index.html - -EXPOSE 80 - -# Simple startup script to avoid some issues observed with container restart -ADD run-apache.sh /run-apache.sh -RUN chmod -v +x /run-apache.sh - -CMD ["/run-apache.sh"] - - - - - -# Install ZeroTier-One -#chmod 755 ZeroTierOneInstaller-linux-x64-1_0_5 -#sudo ./ZeroTierOneInstaller-linux-x64-1_0_5 - -# Start ZeroTier-One -CMD ["./zerotier-one", "-U -p9990 /root/dev/ztest", "FOREGROUND"] - -# Start Applications -#CMD ["intercept", "/sbin/sshd", "FOREGROUND"] -RUN intercept httpd |