From 7c46badb8a1957d99a982228d71a3ee9f63bcd29 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 7 Jul 2017 00:21:29 +0200 Subject: Inherit packages when creating /src/tempest/.venv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It simply calls the --system-site-packages option as all requirements are already installed and then saves space. Change-Id: Ibb37e54bcbbb8bd9b84e6d43a694ab685b561db1 Signed-off-by: Cédric Ollivier --- docker/Dockerfile.aarch64 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'docker/Dockerfile.aarch64') diff --git a/docker/Dockerfile.aarch64 b/docker/Dockerfile.aarch64 index a42fc316..274db865 100644 --- a/docker/Dockerfile.aarch64 +++ b/docker/Dockerfile.aarch64 @@ -106,10 +106,7 @@ RUN /bin/bash -c ". /usr/local/lib/python2.7/dist-packages/sfc/tests/functest/se # Install tempest venv and create symlink for running refstack-client RUN ln -s /src/tempest /src/refstack-client/.tempest \ - && virtualenv /src/tempest/.venv \ - && /src/tempest/.venv/bin/python -m pip install \ - -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata \ - -r/src/tempest/requirements.txt + && virtualenv --system-site-packages /src/tempest/.venv RUN /bin/bash -c ". /etc/profile.d/rvm.sh \ && cd ${REPOS_VNFS_DIR}/vims-test \ -- cgit 1.2.3-korg