mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Use C.UTF-8
This commit is contained in:
parent
dbf11edefc
commit
8bd9fd997e
17 changed files with 60 additions and 64 deletions
|
|
@ -37,10 +37,10 @@ fi
|
|||
|
||||
# Set UTF-8
|
||||
# http://stackoverflow.com/a/3182519/2137281
|
||||
LOC=$'LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8'
|
||||
LOC=$'LC_ALL=C.UTF-8\nLANG=C.UTF-8'
|
||||
echo "$LOC" > /etc/environment
|
||||
cat /etc/environment
|
||||
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
|
||||
echo "C.UTF-8 UTF-8" > /etc/locale.gen
|
||||
locale-gen
|
||||
dpkg-reconfigure locales -f noninteractive -p critical
|
||||
locale -a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue