mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Make locale setting OS-dependent
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
This commit is contained in:
parent
475f5af390
commit
a19885da57
2 changed files with 11 additions and 1 deletions
10
scripts/generate-locale
Executable file
10
scripts/generate-locale
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeou pipefail
|
||||
|
||||
BUILD_OS=${BUILD_OS:-debian}
|
||||
|
||||
# For UBI, the locale is already present in the image.
|
||||
if [[ $BUILD_OS =~ debian ]]; then
|
||||
locale-gen C.UTF-8
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue