From cded7a7b8262e29eaac7faf45096c2eed5b2c66c Mon Sep 17 00:00:00 2001 From: okozachenko Date: Tue, 19 May 2020 20:59:04 +0300 Subject: [PATCH] Fix translation in horizon Change-Id: I699ff6ea91ce8494f80379b5b60e06a42eb67990 --- images/horizon/Dockerfile | 3 ++- images/horizon/bindep.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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