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:
parent
2030f30e22
commit
4b2d2017d7
|
@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
|
|||
{{ copy_sources("openstack/heat", "/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 \
|
||||
&& chown -R heat: /var/lib/heat /etc/heat \
|
||||
&& cp -r /heat/etc/heat/* /etc/heat \
|
||||
|
|
Loading…
Reference in New Issue