gentoo-en-us/Dockerfile.template: Set LINGUAS to 'en' or 'en_US'
authorW. Trevor King <wking@tremily.us>
Fri, 29 Aug 2014 03:59:29 +0000 (20:59 -0700)
committerW. Trevor King <wking@tremily.us>
Fri, 29 Aug 2014 07:25:18 +0000 (00:25 -0700)
Only install US-English translations for gettext consumers [1,2].

[1]: http://wiki.gentoo.org/wiki/Localization/HOWTO#LINGUAS
[2]: file:///usr/portage/profiles/desc/linguas.desc

gentoo-en-us/Dockerfile.template

index 4bb5be33f3b07a98b57ebe26de90a6d437ba0618..192ba8a7f2a8ac27259b0622f4e187070ddc7266 100644 (file)
@@ -30,3 +30,5 @@ RUN echo en_US.UTF-8 UTF-8 >> /etc/locale.gen
 RUN locale-gen
 RUN echo 'LANG="en_US.UTF-8"' >> /etc/env.d/02locale
 RUN env-update
+RUN echo 'LINGUAS="en en_US"' >> /etc/portage/make.conf
+RUN emerge -v --newuse --deep --with-bdeps=y @system @world