From 17333aed12775a439dc8d0699bf1811d7160ac55 Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Thu, 20 Aug 2015 14:49:49 +0000 Subject: Fix keystone for Ubuntu Due to the differences between Ubuntu and Centos around Apache2 I have had to copy both start.sh and config-external.sh to be unique files for Ubuntu so as not to affect Centos either. This can be removed when we change the way config-external works. Change-Id: I14dc11e7bb6284b897259a53acc914ae8f254d3c Partially-Implements: blueprint install-from-ubuntu --- docker_templates/keystone/Dockerfile.j2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docker_templates') diff --git a/docker_templates/keystone/Dockerfile.j2 b/docker_templates/keystone/Dockerfile.j2 index f3b7e0e9f..3a69691fa 100644 --- a/docker_templates/keystone/Dockerfile.j2 +++ b/docker_templates/keystone/Dockerfile.j2 @@ -42,7 +42,6 @@ RUN yum -y install \ RUN apt-get install -y --no-install-recommends \ apache2 \ - keystone \ libapache2-mod-wsgi \ && apt-get clean @@ -54,8 +53,8 @@ RUN ln -s /keystone-* /keystone RUN cd /keystone \ && useradd --user-group keystone \ && pip install -r requirements.txt \ - && pip install /keystone \ - && mkdir /etc/keystone /var/www/cgi-bin/keystone \ + && pip install --install-option="--install-scripts=/usr/bin" /keystone \ + && mkdir -p /etc/keystone /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone \ && cp -r /keystone/etc/* /etc/keystone/ \ && cp -a httpd/keystone.py /var/www/cgi-bin/keystone/admin \ && cp -a httpd/keystone.py /var/www/cgi-bin/keystone/main -- cgit v1.2.3