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
This commit is contained in:
Yuriy Taraday 2016-10-13 12:21:25 +03:00
parent 4a95a9344c
commit da5ec569ab
1 changed files with 1 additions and 1 deletions

View File

@ -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/ \