aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Gonzalez <dabarren@gmail.com>2017-04-28 01:03:28 +0200
committerEduardo Gonzalez <dabarren@gmail.com>2017-05-04 16:01:38 +0000
commit1aca75111df1fbf65908fecd01a695699c7833a1 (patch)
tree198a22d60eb4a77532b2217a701fa3e0f50fc316
parent51e94df0620e4c8af40bad752d369e9108508e54 (diff)
downloadkolla-1aca75111df1fbf65908fecd01a695699c7833a1.tar.gz
kolla-1aca75111df1fbf65908fecd01a695699c7833a1.zip
Fix Incorrect timezone in ubuntu horizon images
Ubuntu removed tzdata and locales from docker images by default, this is causing horizon to not come up failing setting timezone: ```ValueError: Incorrect timezone setting: UTC``` Change-Id: I5bbc4d949ed481d1f6629dbb2f5edad174a36e63 Closes-Bug: #1686830
-rw-r--r--docker/horizon/Dockerfile.j28
1 files changed, 6 insertions, 2 deletions
diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2
index 238cb468b..0bea95330 100644
--- a/docker/horizon/Dockerfile.j2
+++ b/docker/horizon/Dockerfile.j2
@@ -50,11 +50,13 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
'apache2',
'gettext',
'libapache2-mod-wsgi',
+ 'locales',
'openstack-dashboard',
'python-manila-ui',
'python-murano-dashboard',
'python-sahara-dashboard',
- 'python-trove-dashboard'
+ 'python-trove-dashboard',
+ 'tzdata'
] %}
{{ macros.install_packages(horizon_packages | customizable("packages")) }}
@@ -99,7 +101,9 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
{% set horizon_packages = [
'apache2',
'gettext',
- 'libapache2-mod-wsgi'
+ 'libapache2-mod-wsgi',
+ 'locales',
+ 'tzdata'
] %}
{{ macros.install_packages(horizon_packages | customizable("packages")) }}