diff options
| author | Eduardo Gonzalez <dabarren@gmail.com> | 2017-04-28 01:03:28 +0200 |
|---|---|---|
| committer | Eduardo Gonzalez <dabarren@gmail.com> | 2017-05-04 16:01:38 +0000 |
| commit | 1aca75111df1fbf65908fecd01a695699c7833a1 (patch) | |
| tree | 198a22d60eb4a77532b2217a701fa3e0f50fc316 /docker | |
| parent | 51e94df0620e4c8af40bad752d369e9108508e54 (diff) | |
| download | kolla-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
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/horizon/Dockerfile.j2 | 8 |
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")) }} |
