diff options
author | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-28 17:59:54 -0400 |
---|---|---|
committer | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-28 17:59:54 -0400 |
commit | 1773dca9dc100f726c5a9752d814c83e3a94fddf (patch) | |
tree | 389f77a2c3b45f7db22befbf45d12c03fad429cd /docker-test | |
parent | 8e3e830e89da471ab941aa78194f5254d254899b (diff) | |
download | infinitytier-1773dca9dc100f726c5a9752d814c83e3a94fddf.tar.gz infinitytier-1773dca9dc100f726c5a9752d814c83e3a94fddf.zip |
Optimized Dockerfile arrangement
Diffstat (limited to 'docker-test')
-rw-r--r-- | docker-test/Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docker-test/Dockerfile b/docker-test/Dockerfile index 83b33f89..69a2e0a4 100644 --- a/docker-test/Dockerfile +++ b/docker-test/Dockerfile @@ -3,6 +3,10 @@ FROM fedora:20 MAINTAINER https://www.zerotier.com/ +# Install Apache +RUN yum -y update && yum clean all +RUN yum -y install httpd && yum clean all + # Add files ADD zerotier-one / ADD zerotier-cli / @@ -18,9 +22,6 @@ 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 9993/udp |