From ed62936d697968e7721e130045250f3926e34923 Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 4 Jul 2023 12:57:39 +0930 Subject: [PATCH] fix(locale): Tanty thrown by ansibe now fixed Ansible throwing a tantrum that it could not find the locale. now the locale is installed and set ti en_US !81 #12 --- dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dockerfile b/dockerfile index bc63241..f55c22d 100644 --- a/dockerfile +++ b/dockerfile @@ -36,6 +36,11 @@ RUN export DEBIAN_FRONTEND=noninteractive \ && apt-get install --reinstall \ libc-bin \ # EoF fixing dpkg ldconfig not found error + # Set Locale to en_US as ansible requires a locale for it to function without chucking a tantrum!! + && apt install -y \ + locales \ + && sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \ + && locale-gen \ && apt-get install --no-install-recommends -y \ openssh-client \ git \