hpc-cloud/roles/horizon/files/Dockerfile

20 lines
530 B
Docker
Raw Normal View History

2017-05-16 16:18:13 +02:00
# Build keystone. It needs to be run with
# --add-host=mariadb:<ip mariadb listens tp>
# Wen starting with an initialized db,
# run keystone-manage db_sync from this docker first:
# $ docker run hpc/keystone --add-host=mariadb:<ip mariadb> "keystone-manage db_sync"
FROM ubuntu:zesty
RUN apt-get update
RUN apt-get install --yes openstack-dashboard
ADD local_settings.py /etc/openstack-dashboard/local_settings.py
RUN chown -R www-data: /var/lib/openstack-dashboard/
#RUN keystone-manage db_sync
CMD apachectl -DFOREGROUND