Skip to content

Commit 794be56

Browse files
committed
Use locales-all instead of building all locales every build
1 parent 15bc504 commit 794be56

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

root/tmp/setup/locales-gen.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,12 @@ set -e
55
echo "Installing apt dependencies"
66

77
# Packages for installing locales.
8-
RUNTIME_LOCALES="locales"
8+
RUNTIME_LOCALES="locales locales-all"
99

1010
apt-get update
1111
apt-get install -y --no-install-recommends apt-transport-https \
1212
$RUNTIME_LOCALES
1313

14-
echo "Installing UTF-8 locales"
15-
16-
# Generate the locales configuration for all possible UTF-8 locales.
17-
grep UTF-8 /usr/share/i18n/SUPPORTED > /etc/locale.gen
18-
locale-gen
19-
2014
# Keep our image size down..
2115
apt-get autoremove -y
2216
apt-get clean

0 commit comments

Comments
 (0)