Skip to content

Allow lazy install of locales#531

Merged
NyakudyaA merged 4 commits into
developfrom
fix-build
May 21, 2026
Merged

Allow lazy install of locales#531
NyakudyaA merged 4 commits into
developfrom
fix-build

Conversation

@NyakudyaA
Copy link
Copy Markdown
Collaborator

@NyakudyaA NyakudyaA commented May 20, 2026

Locales are only currently used when setting up the data directory. This fix allows

  • Deprecate GENERATE_ALL_LOCALE Arg

  • Remove Arg LANG as we now split the LANGS to get the first LANG

  • Lazy install of locales needed by the initDB command

Examples

docker run -e LANGS="fr_FR.UTF-8"  -e DEFAULT_COLLATION="fr_FR.UTF-8" -e DEFAULT_CTYPE="fr_FR.UTF-8" 

This will default the DEFAULT_COLLATION, DEFAULT_CTYPE to the first listed in langs

docker run -e LANGS="fr_FR.UTF-8,id_ID.UTF-8"

Fixes #527 by drastically reducing the build time

@NyakudyaA NyakudyaA merged commit f9032ea into develop May 21, 2026
11 checks passed
@NyakudyaA NyakudyaA deleted the fix-build branch May 21, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve build and tag times using github actions

1 participant