diff --git a/images/horizon/Dockerfile b/images/horizon/Dockerfile index ba4c1892..4cd8dbf6 100644 --- a/images/horizon/Dockerfile +++ b/images/horizon/Dockerfile @@ -36,7 +36,8 @@ RUN ln -s /etc/horizon/local_settings.py local/local_settings.py && \ cp ../octavia_dashboard/enabled/*.py enabled/ && \ cp ../sahara_dashboard/enabled/*.py enabled/ COPY manage.py . -RUN python manage.py collectstatic --no-input && \ +RUN python manage.py compilemessages && \ + python manage.py collectstatic --no-input && \ python manage.py compress --force && \ chown 1001 -R local/ ../static COPY *.svg ../static/dashboard/img/ diff --git a/images/horizon/bindep.txt b/images/horizon/bindep.txt index 118209ad..973b229d 100644 --- a/images/horizon/bindep.txt +++ b/images/horizon/bindep.txt @@ -1,3 +1,4 @@ gcc [compile] libc-dev [compile] mime-support +gettext