From 37680391fe91bf342a31f57976671615a3aeea00 Mon Sep 17 00:00:00 2001 From: djarbz <30350993+djarbz@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:47:42 -0500 Subject: [PATCH] Generate Locales --- images/base/ubuntu.Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/images/base/ubuntu.Dockerfile b/images/base/ubuntu.Dockerfile index 2744e93..ac4d0c3 100644 --- a/images/base/ubuntu.Dockerfile +++ b/images/base/ubuntu.Dockerfile @@ -49,8 +49,13 @@ RUN systemctl enable docker # Create a symlink for standalone docker-compose usage RUN ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/bin/docker-compose +# 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 && \