aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/keystone/Dockerfile.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/keystone/Dockerfile.j2 b/docker/keystone/Dockerfile.j2
index 033385ee6..d85728b9c 100644
--- a/docker/keystone/Dockerfile.j2
+++ b/docker/keystone/Dockerfile.j2
@@ -15,6 +15,19 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
&& cp -a /usr/share/keystone/keystone.wsgi /var/www/cgi-bin/keystone/admin \
&& sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf
+ {% elif base_distro in ['ubuntu'] %}
+
+RUN apt-get install -y --no-install-recommends \
+ keystone \
+ apache2 \
+ libapache2-mod-wsgi \
+ && apt-get clean
+
+RUN mkdir -p /var/www/cgi-bin/keystone \
+ && cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/main \
+ && cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/admin \
+ && echo > /etc/apache2/ports.conf
+
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}