gitlab-build-images/scripts/generate-locale
Balasankar "Balu" C a19885da57
Make locale setting OS-dependent
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2022-07-06 13:17:17 +05:30

10 lines
179 B
Bash
Executable file

#!/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