From bfbcd84e4e01142778015001a3ad0d22218ede4a Mon Sep 17 00:00:00 2001 From: djarbz <30350993+djarbz@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:41:37 -0500 Subject: [PATCH 1/2] Fix Locale Generation --- images/minimal/ubuntu.Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/images/minimal/ubuntu.Dockerfile b/images/minimal/ubuntu.Dockerfile index b260d35..a412d1d 100644 --- a/images/minimal/ubuntu.Dockerfile +++ b/images/minimal/ubuntu.Dockerfile @@ -12,8 +12,14 @@ RUN apt-get update && \ sudo \ && rm -rf /var/lib/apt/lists/* +# Generate the desired locale (en_US.UTF-8) +RUN locale-gen en_US.UTF-8 + # Make typing unicode characters in the terminal work. ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US.UTF-8 +ENV LC_ALL=en_US.UTF-8 + # Remove the `ubuntu` user and add a user `coder` so that you're not developing as the `root` user RUN userdel -r ubuntu && \ useradd coder \ From ac203fe744ba7a46d79d851b0560916a4ea21d2b Mon Sep 17 00:00:00 2001 From: djarbz <30350993+djarbz@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:44:29 -0500 Subject: [PATCH 2/2] Include Locales Package --- images/minimal/ubuntu.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/images/minimal/ubuntu.Dockerfile b/images/minimal/ubuntu.Dockerfile index a412d1d..d38cadb 100644 --- a/images/minimal/ubuntu.Dockerfile +++ b/images/minimal/ubuntu.Dockerfile @@ -9,6 +9,7 @@ RUN apt-get update && \ curl \ git \ jq \ + locales \ sudo \ && rm -rf /var/lib/apt/lists/*