diff --git a/docker/keystone/Dockerfile.j2 b/docker/keystone/Dockerfile.j2 index 9754bd4252..9d1fe298c2 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'] %}