(fixed) test script liblwip.so placement, also streamlined test logic

This commit is contained in:
Joseph Henry
2015-12-03 07:11:33 -08:00
parent 201109a7a0
commit 5c5943a00c
37 changed files with 87 additions and 478 deletions

View File

@@ -7,7 +7,10 @@ RUN yum -y update
RUN yum -y install nginx-1:1.8.0-14.fc23.x86_64
RUN yum clean all
EXPOSE 9993/udp
EXPOSE 9993/udp 80/udp
# Install LWIP library used by service
ADD liblwip.so /var/lib/zerotier-one/liblwip.so
# Install syscall intercept library
ADD zerotier-intercept /
@@ -32,10 +35,5 @@ ADD zerotier-cli /
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"]