aboutsummaryrefslogtreecommitdiff
path: root/docker/centos/binary/horizon/Dockerfile
blob: d8b8bf8cfcaf51753613ad0d03a87729574d1df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)

RUN yum -y install \
    openstack-dashboard \
    httpd \
    mod_wsgi \
    patch \
    && 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

COPY config-internal.sh config-external.sh horizon-bug-1469284.patch /opt/kolla/
# TODO(mduggan): Need to remove this patch once a fix for
# https://bugs.launchpad.net/kolla/+bug/1469284 becomes available upstream.
# Review for this bug is at https://review.openstack.org/#/c/167981/
RUN patch /usr/lib/python2.7/site-packages/openstack_auth/user.py < /opt/kolla/horizon-bug-1469284.patch
COPY ./start.sh /start.sh

CMD ["/start.sh"]