-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new Ubuntu base image we use does not ship with any locales or locale configuration. A fix[1] attempted to remedy this by copying the default locale configuration from the host, but it is not a valid fix since the locale from the host is not present or generated in the container cache. This causes things to break on the system when valid locales are used, such as database systems[2]. Instead, to prepare locales in Ubuntu[3], we should install the locales package and provide a list of valid locales to prep the base image. It is not necessary to copy /etc/default/locale from the system. The first locale provided will be used as the system's base locale by running 'update-locale' which builds /etc/default/locale. [1] e62de97 [2] http://paste.openstack.org/show/719241/ [3] https://www.thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu#No_locale_set Change-Id: Iaa5351777d7db464e8a897fdf33c0f440bfa601b
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters