mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 21:13:44 +02:00
Optimized Dockerfile arrangement
This commit is contained in:
parent
8e3e830e89
commit
1773dca9dc
1 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,10 @@ FROM fedora:20
|
||||||
|
|
||||||
MAINTAINER https://www.zerotier.com/
|
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 files
|
||||||
ADD zerotier-one /
|
ADD zerotier-one /
|
||||||
ADD zerotier-cli /
|
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 ln -sf /lib/libintercept.so.1.0 /lib/libintercept
|
||||||
RUN /usr/bin/install -c intercept /usr/bin
|
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
|
RUN echo "Apache" >> /var/www/html/index.html
|
||||||
EXPOSE 9993/udp
|
EXPOSE 9993/udp
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue