1 # Copyright 2018 Whitestack, LLC
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
15 # For those usages not covered by the Apache License, Version 2.0 please
16 # contact: esousa@whitestack.com or glavado@whitestack.com
21 LABEL Maintainer="esousa@whitestack.com" \
22 Description="Openstack Keystone Instance" \
24 Author="Eduardo Sousa"
30 COPY scripts/start.sh /keystone/start.sh
32 RUN apt-get update && \
33 apt-get upgrade -y && \
34 apt-get autoremove -y && \
35 apt-get install -y software-properties-common && \
36 add-apt-repository -y cloud-archive:queens && \
37 apt-get update && apt dist-upgrade -y && \
38 apt-get install -y python-openstackclient keystone apache2 libapache2-mod-wsgi net-tools mysql-client && \
39 rm -rf /var/lib/apt/lists/* && \
43 ENV DB_HOST keystone-db
46 ENV ROOT_DB_PASSWORD admin
48 ENV KEYSTONE_DB_PASSWORD admin
49 ENV ADMIN_PASSWORD admin