From da5ec569ab768710455b904c65d1acf753d05e68 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Thu, 13 Oct 2016 12:21:25 +0300 Subject: [PATCH] Clean up pip arguments --no-cache-dir is now default for microservices venv and there's no need to pass requirements.txt to pip directly, especially as constraints file. Change-Id: I245d885d94513e2f80f29c8ab6d1a0e85e7bd928 --- docker/horizon/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2 index 3acb439..7f1a64f 100644 --- a/docker/horizon/Dockerfile.j2 +++ b/docker/horizon/Dockerfile.j2 @@ -12,7 +12,7 @@ RUN apt-get update \ RUN mkdir -p /etc/openstack-dashboard /home/horizon /var/www/cgi-bin/horizon \ && cp -a /sahara-dashboard/sahara_dashboard/enabled/* /horizon/openstack_dashboard/local/enabled/ \ - && /var/lib/microservices/venv/bin/pip --no-cache-dir install --upgrade -c /horizon/requirements.txt -c /sahara-dashboard/requirements.txt /horizon /sahara-dashboard \ + && /var/lib/microservices/venv/bin/pip install --upgrade /horizon /sahara-dashboard \ && useradd --user-group horizon \ && ln -s /etc/openstack-dashboard/local_settings /var/lib/microservices/venv/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py \ && cp -r /horizon/openstack_dashboard/conf/* /etc/openstack-dashboard/ \