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.
9 lines
302 B
Docker
9 lines
302 B
Docker
FROM gliderlabs/alpine
|
|
MAINTAINER Weaveworks Inc <help@weave.works>
|
|
WORKDIR /home/weave
|
|
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"]
|