diff --git a/images/base/ubuntu.Dockerfile b/images/base/ubuntu.Dockerfile index 579cad0..15a59e8 100644 --- a/images/base/ubuntu.Dockerfile +++ b/images/base/ubuntu.Dockerfile @@ -64,8 +64,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 && \ diff --git a/images/minimal/ubuntu.Dockerfile b/images/minimal/ubuntu.Dockerfile index b260d35..d38cadb 100644 --- a/images/minimal/ubuntu.Dockerfile +++ b/images/minimal/ubuntu.Dockerfile @@ -9,11 +9,18 @@ RUN apt-get update && \ curl \ git \ jq \ + locales \ 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 \