Skip to content

Commit bfbcd84

Browse files
authored
Fix Locale Generation
1 parent 96893e5 commit bfbcd84

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

images/minimal/ubuntu.Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ RUN apt-get update && \
1212
sudo \
1313
&& rm -rf /var/lib/apt/lists/*
1414

15+
# Generate the desired locale (en_US.UTF-8)
16+
RUN locale-gen en_US.UTF-8
17+
1518
# Make typing unicode characters in the terminal work.
1619
ENV LANG=en_US.UTF-8
20+
ENV LANGUAGE=en_US.UTF-8
21+
ENV LC_ALL=en_US.UTF-8
22+
1723
# Remove the `ubuntu` user and add a user `coder` so that you're not developing as the `root` user
1824
RUN userdel -r ubuntu && \
1925
useradd coder \

0 commit comments

Comments
 (0)