summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorhongbo tian <hongbo.tianhongbo@huawei.com>2017-05-03 17:27:38 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-03 17:27:38 +0000
commitbae197167f137c478f8bb3268d9e047a6b6839b6 (patch)
tree128579d90d3ac724c04c164ec3f8f7a028d56092 /docker/Dockerfile
parentfdc6128e73f6fb109673a5b522f33879ca749554 (diff)
parent03ade964103d88af4d9a4f729d3bb00c12bff489 (diff)
Merge "local db support offline mode"
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 7b3d99ed..499624f8 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -40,3 +40,8 @@ RUN \
pip install -e .
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