Merge "Use C.UTF-8 locale"
This commit is contained in:
commit
3da7f07dd6
|
@ -1,6 +1,12 @@
|
|||
FROM {{ base_image }}:{{ base_distro_tag }}
|
||||
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||
|
||||
{% 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
|
||||
{% endblock %}
|
||||
|
||||
{# NOTE(SamYaple): Avoid uid/gid conflicts by creating each user/group up front. #}
|
||||
{# Specifics required such as homedir or shell are configured within the service specific image #}
|
||||
{%- for name, user in users | dictsort() %}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
upgrade:
|
||||
- |
|
||||
``C.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.
|
||||
It makes images Unicode-friendly.
|
Loading…
Reference in New Issue