aboutsummaryrefslogtreecommitdiff
path: root/docker/ubuntu/binary/keystone/Dockerfile
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-13 17:16:04 +0000
committerGerrit Code Review <review@openstack.org>2015-07-13 17:16:04 +0000
commit2756663685be19a3c5b08f73af6c49cb9603448d (patch)
treefd31b6d0a056a94d030046541420e7abb6178772 /docker/ubuntu/binary/keystone/Dockerfile
parent69338a94ba0969241a8b669eba824956912d71c4 (diff)
parent0ffd2deaa23f1b65a4940f98bf2101308921d748 (diff)
downloadkolla-2756663685be19a3c5b08f73af6c49cb9603448d.tar.gz
kolla-2756663685be19a3c5b08f73af6c49cb9603448d.zip
Merge "Add Keystone image for Ubuntu"
Diffstat (limited to 'docker/ubuntu/binary/keystone/Dockerfile')
-rw-r--r--docker/ubuntu/binary/keystone/Dockerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/docker/ubuntu/binary/keystone/Dockerfile b/docker/ubuntu/binary/keystone/Dockerfile
new file mode 100644
index 000000000..af362252d
--- /dev/null
+++ b/docker/ubuntu/binary/keystone/Dockerfile
@@ -0,0 +1,22 @@
+FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+RUN apt-get install -y --no-install-recommends \
+ apache2 \
+ keystone \
+ libapache2-mod-wsgi \
+ python-keystoneclient \
+ && apt-get clean
+
+RUN curl -o /etc/apache2/sites-available/wsgi-keystone.conf \
+ https://raw.githubusercontent.com/openstack/keystone/stable/kilo/httpd/wsgi-keystone.conf
+RUN ln -s /etc/apache2/sites-available/wsgi-keystone.conf /etc/apache2/sites-enabled
+RUN mkdir -p /var/www/cgi-bin/keystone
+RUN cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/main
+RUN cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/admin
+RUN chown -R keystone:keystone /var/www/cgi-bin/keystone
+RUN chmod 755 /var/www/cgi-bin/keystone/*
+
+COPY start.sh check.sh /
+
+CMD ["/start.sh"]