diff options
| author | Zuul <zuul@review.opendev.org> | 2019-10-29 17:33:15 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2019-10-29 17:33:15 +0000 |
| commit | ff40bc6e05082524057188c9757058ced5c21a37 (patch) | |
| tree | cd87ff09c2b5070a2498da9f31d96975341e91ad | |
| parent | 912ccf0658e88f5f8cea69c93a4ff1a830149e44 (diff) | |
| parent | e910ef6cf67fcdb718823fbe06becc160e453e69 (diff) | |
| download | kolla-ff40bc6e05082524057188c9757058ced5c21a37.tar.gz kolla-ff40bc6e05082524057188c9757058ced5c21a37.zip | |
Merge "base: use en_US.UTF-8 locale on all distros"
| -rw-r--r-- | docker/base/Dockerfile.j2 | 2 | ||||
| -rw-r--r-- | releasenotes/notes/unicode-locale-018fe01eaccc556d.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index aed29bdaa..69d6b2e48 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -4,7 +4,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% block base_lang %} # NOTE(yoctozepto): use a UTF-8 (Unicode) locale like standard image installs do # fixes issues arising from ascii fallback usage -ENV LANG C.UTF-8 +ENV LANG en_US.UTF-8 {% endblock %} {# NOTE(SamYaple): Avoid uid/gid conflicts by creating each user/group up front. #} diff --git a/releasenotes/notes/unicode-locale-018fe01eaccc556d.yaml b/releasenotes/notes/unicode-locale-018fe01eaccc556d.yaml index b248f91bf..0052cd31a 100644 --- a/releasenotes/notes/unicode-locale-018fe01eaccc556d.yaml +++ b/releasenotes/notes/unicode-locale-018fe01eaccc556d.yaml @@ -1,7 +1,7 @@ --- upgrade: - | - ``C.UTF-8`` is set as the default locale (``LANG``) for images. + ``en_US.UTF-8`` is set as the default locale (``LANG``) for images. This affects both build- and run-time. Distributions supported by Kolla default to UTF-8 locale in installs so this change should provide a more expected experience. |
