Disable get DB schema in Dockerfile 65/43565/1
authorxudan <xudan16@huawei.com>
Fri, 29 Sep 2017 07:02:55 +0000 (03:02 -0400)
committerxudan <xudan16@huawei.com>
Fri, 29 Sep 2017 07:02:55 +0000 (03:02 -0400)
Dovetail provides files for init local DB.
No need to get schema from opnfv DB when building docker image.

Change-Id: I05fbf4f65f3a94bb3a36fe3c140ad7bff58a4f15
Signed-off-by: xudan <xudan16@huawei.com>
docker/Dockerfile

index c4b1121..a622f79 100644 (file)
@@ -47,6 +47,6 @@ RUN \
 WORKDIR ${REPOS_DIR}/dovetail
 
 # get db schema from opnfv sites
-RUN mkdir -p ${REPOS_DIR}/dovetail/utils/local_db
-ADD get_db_schema.py ${REPOS_DIR}/dovetail/utils/local_db
-RUN cd ${REPOS_DIR}/dovetail/utils/local_db && python get_db_schema.py
+RUN mkdir -p ${REPOS_DIR}/dovetail/utils/local_db
+ADD get_db_schema.py ${REPOS_DIR}/dovetail/utils/local_db
+RUN cd ${REPOS_DIR}/dovetail/utils/local_db && python get_db_schema.py