Cleanup 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: Id100bd1972d00353ca93ecbc04c4f1843fe089bf
This commit is contained in:
Yuriy Taraday 2016-10-13 13:00:19 +03:00
parent 2030f30e22
commit 4b2d2017d7

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{{ copy_sources("openstack/heat", "/heat") }} {{ copy_sources("openstack/heat", "/heat") }}
RUN useradd --user-group heat \ RUN useradd --user-group heat \
&& /var/lib/microservices/venv/bin/pip --no-cache-dir install --upgrade -c /heat/requirements.txt /heat \ && /var/lib/microservices/venv/bin/pip install --upgrade /heat \
&& mkdir -p /var/lib/heat /etc/heat \ && mkdir -p /var/lib/heat /etc/heat \
&& chown -R heat: /var/lib/heat /etc/heat \ && chown -R heat: /var/lib/heat /etc/heat \
&& cp -r /heat/etc/heat/* /etc/heat \ && cp -r /heat/etc/heat/* /etc/heat \