From e46ef6e6d12c3adeea921bb02159161ee6d5c9df Mon Sep 17 00:00:00 2001 From: Romanos Skiadas Date: Thu, 16 Feb 2017 14:11:26 +0200 Subject: Use python setup.py develop to install repos This has the benefit that the repos installed in /usr/share are exactly the same ones as in repos/, which makes development easier. Change-Id: Iaba28116b9b291ea8d75c99771f57739e85bc20b Signed-off-by: Romanos Skiadas --- docker/Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index de47e157..38161d1d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -108,10 +108,10 @@ RUN pip install -r ${REPOS_DIR}/tempest/requirements.txt RUN cd ${FUNCTEST_REPO_DIR} \ && pip install -r requirements.txt \ - && pip install . + && pip install -e . RUN cd ${RELENG_MODULE_DIR} \ - && pip install . + && pip install -e . RUN cd ${REPOS_DIR}/barometer \ && pip install . @@ -133,12 +133,11 @@ RUN pip install -e ${REPOS_DIR}/snaps/ # SFC integration RUN /bin/bash -c ". ${REPOS_DIR}/sfc/sfc/tests/functest/setup_scripts/tacker_client_install.sh" -RUN cd ${REPOS_DIR}/sfc && pip install . +RUN cd ${REPOS_DIR}/sfc && pip install -e . # SDNVPN integration -RUN cd ${REPOS_DIR}/sdnvpn && pip install . - -RUN cd ${REPOS_DIR}/bgpvpn && pip install . +RUN cd ${REPOS_DIR}/sdnvpn && pip install -e . +RUN cd ${REPOS_DIR}/bgpvpn && pip install -e . # Kingbird integration RUN cd ${REPOS_DIR}/kingbird && pip install -e . -- cgit 1.2.3-korg