Gather container IP addresses from Docker and Weave, and apply them to nodes in the container topology.

This commit is contained in:
Tom Wilkie
2015-08-24 11:21:41 +00:00
parent 7e39b92799
commit d8ac16d3f3
8 changed files with 153 additions and 6 deletions

View File

@@ -2,8 +2,10 @@ FROM gliderlabs/alpine
MAINTAINER Weaveworks Inc <help@weave.works>
WORKDIR /home/weave
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >>/etc/apk/repositories && \
apk add --update runit conntrack-tools && \
apk add --update runit conntrack-tools iproute2 util-linux && \
rm -rf /var/cache/apk/*
ADD ./docker.tgz /
ADD ./weave /usr/bin/
COPY ./scope-app ./scope-probe ./entrypoint.sh /home/weave/
COPY ./run-app /etc/service/app/run
COPY ./run-probe /etc/service/probe/run