From febcb600f122dc644f8a05c4a7697a39e9157834 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Wed, 18 Nov 2015 07:22:17 +0100 Subject: Source installation in virtualenv Use virtualenv for installation of OpenStack projects and dependencies to avoid conflicts with Python libraries installed by non-OpenStack binary packages. Change-Id: I21ecd673b2e93335b1d3dd4e279e940c9d694c3c Implements: blueprint virtualenv --- docker/keystone/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/keystone') diff --git a/docker/keystone/Dockerfile.j2 b/docker/keystone/Dockerfile.j2 index e3e25f3db..033385ee6 100644 --- a/docker/keystone/Dockerfile.j2 +++ b/docker/keystone/Dockerfile.j2 @@ -38,7 +38,7 @@ RUN apt-get install -y --no-install-recommends \ ADD keystone-archive /keystone-source RUN ln -s keystone-source/* keystone \ && useradd --user-group keystone \ - && pip --no-cache-dir install -c requirements/upper-constraints.txt /keystone \ + && /var/lib/kolla/venv/bin/pip --no-cache-dir install -c requirements/upper-constraints.txt /keystone \ && mkdir -p /etc/keystone /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone \ && cp -r /keystone/etc/* /etc/keystone/ \ && cp /keystone/httpd/keystone.py /var/www/cgi-bin/keystone/admin \ -- cgit v1.2.3