summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-07-19 22:14:07 -0400
committerxudan <xudan16@huawei.com>2017-07-19 22:14:07 -0400
commit4248cd3433d4c9ad4a4fd082fa77f683d36944a4 (patch)
tree395ed69e1c6bc8724c5f5c2bc3291c54ecff375b
parentcc034a7135cf70f137915f8b55c8ef00ab61e96e (diff)
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 <xudan16@huawei.com>
-rw-r--r--docker/Dockerfile8
1 files changed, 7 insertions, 1 deletions
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