Don't use --upgrade when installing into venv

In venv --upgrade does nothing good since venv have constraints-bound
versions of everything installed. It does bad thing though: it tries to
upgrade setuptools (they are not mentioned in upstream constraints.txt)
and break further building.

Change-Id: I1abab5f51ab81faf11c19c569fa74f57202963fb
This commit is contained in:
Yuriy Taraday 2017-01-23 17:23:29 -08:00
parent 6ca5fbf7c5
commit 4b615305f2
1 changed files with 1 additions and 1 deletions

View File

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