X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FKeystone%2FDockerfile;fp=docker%2FKeystone%2FDockerfile;h=571e88739bad6fc54432b6c1c2c7d68e2d6d915b;hb=09a1e974bb70fb9b02a9a0fb41f421fdf7457cbd;hp=0000000000000000000000000000000000000000;hpb=34bf143217719276746d986de53f940176d7de09;p=osm%2Fdevops.git diff --git a/docker/Keystone/Dockerfile b/docker/Keystone/Dockerfile new file mode 100644 index 00000000..571e8873 --- /dev/null +++ b/docker/Keystone/Dockerfile @@ -0,0 +1,45 @@ +FROM ubuntu:16.04 + +LABEL Maintainer="esousa@whitestack.com" \ + Description="Openstack Keystone Instance" \ + Version="1.0" \ + Author="Eduardo Sousa" + +EXPOSE 5000 + +WORKDIR /keystone + +COPY scripts/start.sh /keystone/start.sh + +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get autoremove -y && \ + apt-get install -y software-properties-common && \ + add-apt-repository -y cloud-archive:queens && \ + apt-get update && apt dist-upgrade -y && \ + apt-get install -y python-openstackclient keystone apache2 libapache2-mod-wsgi net-tools mysql-client && \ + rm -rf /var/lib/apt/lists/* && \ + chmod +x start.sh + +# DB Hostname +ENV DB_HOST keystone-db + +# DB Port +ENV DB_PORT 3306 + +# DB Root User +ENV ROOT_DB_USER root + +# DB Root Password +ENV ROOT_DB_PASSWORD admin + +# Keystone user password +ENV KEYSTONE_DB_PASSWORD admin + +# Admin password +ENV ADMIN_PASSWORD admin + +# NBI password +ENV NBI_PASSWORD nbi + +ENTRYPOINT ./install.sh \ No newline at end of file