summaryrefslogtreecommitdiff
path: root/docker/horizon/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/horizon/Dockerfile')
-rw-r--r--docker/horizon/Dockerfile11
1 files changed, 9 insertions, 2 deletions
diff --git a/docker/horizon/Dockerfile b/docker/horizon/Dockerfile
index ce925baf2..2c34ee03a 100644
--- a/docker/horizon/Dockerfile
+++ b/docker/horizon/Dockerfile
@@ -1,8 +1,15 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
-RUN yum -y install openstack-dashboard \
- httpd httpd-mod-wsgi && yum clean all
+RUN yum -y install \
+ openstack-dashboard \
+ httpd \
+ httpd-mod-wsgi \
+ && yum clean all \
+ && chown -R apache:apache /usr/share/openstack-dashboard/static
+
+# The chown is required because of this packaging bug:
+# https://bugzilla.redhat.com/show_bug.cgi?id=1219006
ADD ./start.sh /start.sh