From 4248cd3433d4c9ad4a4fd082fa77f683d36944a4 Mon Sep 17 00:00:00 2001 From: xudan Date: Wed, 19 Jul 2017 22:14:07 -0400 Subject: Fix the docker version to be 17.03.0-ce rather than the latest one JIRA: DOVETAIL-467 1. Since the script getting with "wget qO https://get.docker.com/" has been changed and it can just install docker-ce rather than docker-engine now. 2. Dovetail validates with Docker 17.03 CE, so the docker installed in the dovetail container can be 17.03.0-ce. Change-Id: If64204ba3dcf5a38d7a124a0cc716f8375808999 Signed-off-by: xudan --- docker/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index fbe48495..eb85ea49 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -20,7 +20,13 @@ RUN \ && \ apt-get update -RUN wget -qO- https://get.docker.com/ | sed 's/ docker-engine/ docker-engine=1.12.3-0~trusty/' | sh +RUN wget -qO- https://get.docker.com/ \ +| \ + sed 's/-q docker-ce/-q docker-ce=17.03.0~ce-0~ubuntu-trusty/' \ +| \ + sed 's/edge/stable/' \ +| \ + sh ENV HOME /home/opnfv ENV REPOS_DIR ${HOME}/dovetail -- cgit 1.2.3-korg