diff options
| author | Joseph Henry <josephjah@gmail.com> | 2015-11-12 08:21:05 -0800 |
|---|---|---|
| committer | Joseph Henry <josephjah@gmail.com> | 2015-11-12 08:21:05 -0800 |
| commit | e5fad005a9c5b4ad5f645a4aba40a7bff2eeda58 (patch) | |
| tree | bc231450835861671166205d814d5037e5236f62 /docker-test/throughput_httpd_2.4.16/Dockerfile | |
| parent | 82a60b1e288773b18fb98eb7898c4bfc87587679 (diff) | |
| download | infinitytier-e5fad005a9c5b4ad5f645a4aba40a7bff2eeda58.tar.gz infinitytier-e5fad005a9c5b4ad5f645a4aba40a7bff2eeda58.zip | |
Updated RPC handling
Diffstat (limited to 'docker-test/throughput_httpd_2.4.16/Dockerfile')
| -rw-r--r-- | docker-test/throughput_httpd_2.4.16/Dockerfile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docker-test/throughput_httpd_2.4.16/Dockerfile b/docker-test/throughput_httpd_2.4.16/Dockerfile new file mode 100644 index 00000000..71549754 --- /dev/null +++ b/docker-test/throughput_httpd_2.4.16/Dockerfile @@ -0,0 +1,39 @@ +# ZT Netcon Throughput 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 +RUN yum -y install nano +RUN yum clean all + +EXPOSE 9993/udp 9992/udp 9991/udp 9990/udp + +# Install sys-call intercept library +ADD intercept / +ADD libintercept.so.1.0 / +RUN cp libintercept.so.1.0 lib/libintercept.so.1.0 +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 + +# Add ZT files +RUN mkdir -p /var/lib/zerotier-one/networks.d +RUN touch /var/lib/zerotier-one/networks.d/e5cd7a9e1c5311ab.conf +ADD zerotier-one / +ADD zerotier-cli / + +# Install test-setup scripts +ADD generate_file.sh /generate_file.sh +RUN chmod -v +x /generate_file.sh +ADD entrypoint.sh /entrypoint.sh +RUN chmod -v +x /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 ["./entrypoint.sh"] |
