Use a fixed (and old) version of the docker client

As noted in #388 comment 76958961, we need the docker client to be as
old as possible while supporting what weave needs to do. At the minute
that means version 1.3.1.

The `apk` package index does not have old versions of docker, so the
most direct way of getting a docker executable is to download the
specific version from https://get.docker.com.
This commit is contained in:
Michael Bridgen committed 2015-03-20 14:37:24 +00:00
1 parent 93f16d91ce
commit 520c54f8da
3 files changed
+12 -2

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
FROM gliderlabs/alpine
MAINTAINER Weaveworks Inc <help@weave.works>
WORKDIR /home/weave
RUN ["apk", "add", "--update", "ethtool", "conntrack-tools", "curl", "iptables", "iproute2", "docker"]
RUN ["apk", "add", "--update", "ethtool", "conntrack-tools", "curl", "iptables", "iproute2"]
RUN ["sh", "-c", "rm -rf /var/cache/apk/*"]
ADD ./weave /home/weave/
ADD ./docker.tgz /
ENTRYPOINT ["/home/weave/weave"]