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:
parent
6ca5fbf7c5
commit
4b615305f2
|
@ -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 install --upgrade /heat \
|
&& /var/lib/microservices/venv/bin/pip install /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 \
|
||||||
|
|
Loading…
Reference in New Issue