summaryrefslogtreecommitdiff
path: root/netcon/docker-test/redis/redis-3.0.4-1.fc23.x86_64/monitor_dockerfile
blob: e6cd65a3e94c130f0f32538919da9c466edd5009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ZT Network Containers Test Monitor
FROM fedora:23
MAINTAINER https://www.zerotier.com/

RUN yum -y install redis-3.0.4-1.fc23.x86_64

EXPOSE 9993/udp

# Add ZT files
RUN mkdir -p /var/lib/zerotier-one/networks.d
ADD monitor_identity.public /var/lib/zerotier-one/identity.public
ADD monitor_identity.secret /var/lib/zerotier-one/identity.secret
ADD *.conf /var/lib/zerotier-one/networks.d/
ADD *.conf /
ADD *.name /

# Install LWIP library used by service
ADD liblwip.so /var/lib/zerotier-one/liblwip.so

ADD hello.lua /

ADD zerotier-one /
ADD zerotier-cli /

# Start ZeroTier-One
ADD monitor_entrypoint.sh /monitor_entrypoint.sh
RUN chmod -v +x /monitor_entrypoint.sh
CMD ["./monitor_entrypoint.sh"]