- Create an auxilliary container 'weavevolumes' to hold the '/w/w' files, and map into that instead of creating new volumes every time. - Show "/bin/false" as its command in `docker ps` instead of "/home/weave/sigproxy". - Remove volumes when cleaning up smoketest containers.
25 lines
541 B
Docker
25 lines
541 B
Docker
FROM alpine
|
|
|
|
MAINTAINER Weaveworks Inc <help@weave.works>
|
|
LABEL works.weave.role=system
|
|
|
|
WORKDIR /home/weave
|
|
ENTRYPOINT ["/home/weave/sigproxy", "/home/weave/weave"]
|
|
|
|
RUN apk add --update \
|
|
curl \
|
|
ethtool \
|
|
iptables \
|
|
iproute2 \
|
|
util-linux \
|
|
conntrack-tools \
|
|
bind-tools \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
ADD ./weave ./sigproxy ./weaveproxy ./symlink /home/weave/
|
|
ADD ./netcheck ./docker_tls_args /usr/bin/
|
|
ADD ./weavewait /w/w
|
|
ADD ./weavewait_noop /w-noop/w
|
|
ADD ./weavewait_nomcast /w-nomcast/w
|
|
ADD ./docker.tgz /
|