Skip to content

Commit

Permalink
fix(docker): Set a sane default system language in container
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Feb 1, 2023
1 parent c95c2c8 commit 7e0ac93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ ARG VERSION
# Allow `su` with no root password so non-priv users can install dependencies
RUN sed -i -e '/.so$/s/$/ nullok/' /etc/pam.d/su

# Set system locale to something other than 'C' that resolves to a language
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && locale-gen
ENV LANG=en_US.UTF-8

# Make sure the current project volume can be manipulated inside Docker in
# spite of new default Git safety restrictions. We default the workdir to /data
# and suggest that to users but they are free to rearrange. More notably GH
Expand Down

0 comments on commit 7e0ac93

Please sign in to comment.