aboutsummaryrefslogtreecommitdiff
path: root/docker/keystone
diff options
context:
space:
mode:
authorMichal Rostecki <mrostecki@mirantis.com>2015-11-18 07:22:17 +0100
committerMichal Rostecki <mrostecki@mirantis.com>2015-11-27 10:22:17 +0100
commitfebcb600f122dc644f8a05c4a7697a39e9157834 (patch)
treee7cdc8485f7613dc8c52a85d0a252c7c24a9d03e /docker/keystone
parent563b56126991cfc2f3378f803e071ad79aca3487 (diff)
downloadkolla-febcb600f122dc644f8a05c4a7697a39e9157834.tar.gz
kolla-febcb600f122dc644f8a05c4a7697a39e9157834.zip
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
Diffstat (limited to 'docker/keystone')
-rw-r--r--docker/keystone/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
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 \