base: generate en_US.UTF-8 locale data for Debian/Ubuntu systems

Change-Id: Id2463692f5a633b6e50af6e7ce6e3f49612e4c5d
Closes-bug: #1852452
This commit is contained in:
Marcin Juszkiewicz 2019-11-13 16:38:00 +01:00 committed by Radosław Piliszek
parent a398310b34
commit 19ba215f8c
1 changed files with 3 additions and 0 deletions

View File

@ -395,6 +395,9 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
{% endfor %}
{% endblock %}
RUN apt-get update \
&& apt-get -y install locales \
&& sed -e "s/# $LANG UTF-8/$LANG UTF-8/g" /etc/locale.gen -i \
&& locale-gen "$LANG" \
&& apt-get -y upgrade \
&& apt-get -y dist-upgrade \
&& apt-get -y install --no-install-recommends \