diff options
author | grkiss <grakiss.wanglei@huawei.com> | 2017-05-01 15:50:20 -0700 |
---|---|---|
committer | grkiss <grakiss.wanglei@huawei.com> | 2017-05-01 15:50:20 -0700 |
commit | 3aeab49bb64c6c89da37f3d03f781aec85f39015 (patch) | |
tree | a78a7075647836520690982adce34acce1240b44 /docker | |
parent | 434cfad3103b8871f5eb22ceb3a2c7526b312383 (diff) |
Tips on update docker to right version, > 1.8
JIRA: DOVETAIL-414
Dovetail requires docker at version > 1.8, so add some validation in code, and also versions of client and server should match
with each other, or there will be unpredictable errors.
Gives a notice to user to decide whether to update the docker to the latest version(1.17)
Change-Id: I1331f5c19943a73e8fe25f76bd21628233e556f3
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 8cc15e0b..7b3d99ed 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,9 +13,12 @@ RUN \ python-mock \ python-pip \ apt-transport-https \ + wget \ --no-install-recommends \ && \ - apt-get update && apt-get -y install docker.io + apt-get update + +RUN wget -qO- https://get.docker.com/ | sh ENV HOME /home/opnfv ENV REPOS_DIR ${HOME}/dovetail |