changed docker repo
This commit is contained in:
parent
1d40976a6d
commit
cb6b389bc6
@ -5,11 +5,23 @@
|
|||||||
# $ docker run hpc/keystone --add-host=mariadb:<ip mariadb> "keystone-manage db_sync"
|
# $ docker run hpc/keystone --add-host=mariadb:<ip mariadb> "keystone-manage db_sync"
|
||||||
|
|
||||||
# wellicht ubuntu 16.04 of anders 18.04
|
# wellicht ubuntu 16.04 of anders 18.04
|
||||||
FROM ubuntu:zesty
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
|
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5EDB1B62EC4926EA
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
||||||
RUN apt-get install --yes keystone
|
RUN set -x \
|
||||||
|
&& echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main" > /etc/apt/sources.list.d/ocata.list \
|
||||||
|
&& apt-get -y update \
|
||||||
|
&& apt-get -y install ubuntu-cloud-keyring \
|
||||||
|
&& apt-get -y update \
|
||||||
|
&& apt-get -y install \
|
||||||
|
mysql-client \
|
||||||
|
python-mysqldb \
|
||||||
|
python-openstackclient \
|
||||||
|
keystone \
|
||||||
|
&& apt-get -y clean
|
||||||
|
|
||||||
# set admin token TODO: make this a secret
|
# set admin token TODO: make this a secret
|
||||||
# in volume of met env
|
# in volume of met env
|
||||||
@ -19,6 +31,9 @@ RUN mkdir /etc/keystone/fernet-keys
|
|||||||
|
|
||||||
RUN chown keystone: /etc/keystone/fernet-keys
|
RUN chown keystone: /etc/keystone/fernet-keys
|
||||||
|
|
||||||
|
# TODO: move this somewhere else
|
||||||
|
ADD admin-openrc.sh /root/admin-openrc.sh
|
||||||
|
|
||||||
#RUN keystone-manage db_sync
|
#RUN keystone-manage db_sync
|
||||||
CMD apachectl -DFOREGROUND
|
CMD apachectl -DFOREGROUND
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user