Skip to content

Commit 455163f

Browse files
djarbzjohnstcn
authored andcommitted
Generate Locales
(cherry picked from commit 3768039)
1 parent 2e8a344 commit 455163f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

images/base/ubuntu.Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,13 @@ RUN systemctl enable docker
6464
# Create a symlink for standalone docker-compose usage
6565
RUN ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/bin/docker-compose
6666

67+
# Generate the desired locale (en_US.UTF-8)
68+
RUN locale-gen en_US.UTF-8
69+
6770
# Make typing unicode characters in the terminal work.
6871
ENV LANG=en_US.UTF-8
72+
ENV LANGUAGE=en_US.UTF-8
73+
ENV LC_ALL=en_US.UTF-8
6974

7075
# Remove the `ubuntu` user and add a user `coder` so that you're not developing as the `root` user
7176
RUN userdel -r ubuntu && \

0 commit comments

Comments
 (0)