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: I93607580fbf74f1570909bc51daacee67ea8ebeb
This commit is contained in:
parent
80c1725a2f
commit
d1e5e64a35
|
@ -13,7 +13,7 @@ RUN apt-get install -y --no-install-recommends \
|
||||||
{{ copy_sources("openstack/keystone", "/keystone") }}
|
{{ copy_sources("openstack/keystone", "/keystone") }}
|
||||||
|
|
||||||
RUN useradd --user-group keystone \
|
RUN useradd --user-group keystone \
|
||||||
&& /var/lib/microservices/venv/bin/pip install --upgrade /keystone \
|
&& /var/lib/microservices/venv/bin/pip install /keystone \
|
||||||
&& mkdir -p /etc/keystone/fernet-keys /etc/keystone/credential-keys /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone \
|
&& mkdir -p /etc/keystone/fernet-keys /etc/keystone/credential-keys /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone \
|
||||||
&& cp -r /keystone/etc/* /etc/keystone/ \
|
&& cp -r /keystone/etc/* /etc/keystone/ \
|
||||||
&& cp /var/lib/microservices/venv/bin/keystone-wsgi-admin /var/www/cgi-bin/keystone/admin \
|
&& cp /var/lib/microservices/venv/bin/keystone-wsgi-admin /var/www/cgi-bin/keystone/admin \
|
||||||
|
|
Loading…
Reference in New Issue