Add Keystone image for Ubuntu

Dockerfile for Keystone service installed from Ubuntu
Cloud Archive.

Partially implements: blueprint install-from-ubuntu
Depends-On: I66bf97b508b740f8db49ed6217c6fefe5de1637e

Change-Id: Ia269ebee75c99a5b39b73237a78fdf1cc9514548
This commit is contained in:
Michal Rostecki 2015-06-28 09:09:07 +02:00
parent e7a7cc9017
commit 0ffd2deaa2
5 changed files with 26 additions and 0 deletions

View File

@ -9,6 +9,7 @@ RUN apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends \
crudini \
curl \
openssl \
&& apt-get clean

View File

@ -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"]

View File

@ -0,0 +1 @@
../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../common/keystone/check.sh

View File

@ -0,0 +1 @@
../../../common/keystone/start.sh