Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generate the en_US.UTF-8 locale in the docker image #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gordon-to wants to merge 1 commit into coder:master from gordon-to:generate-locale

Conversation

Copy link

@gordon-to gordon-to commented Mar 7, 2019
edited
Loading

Fixes issues when working with utf-8 text from the command line

close #83

kylecarbs and nhooyr reacted with thumbs up emoji
Fixes issues when working with utf-8 text from the command line
@kylecarbs kylecarbs requested review from nhooyr and removed request for kylecarbs and code-asher March 7, 2019 17:09
Copy link
Contributor

@nhooyr nhooyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate the fix, thanks.

RUN apt-get install -y openssl
RUN apt-get install -y net-tools
RUN apt-get install -y locales
RUN locale-gen en_US.UTF-8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll also need

# We unfortunately cannot use update-locale because docker will not use the env variables
# configured in /etc/default/locale so we need to set it manually.
ENV LANG=en_US.UTF-8

Copy link
Contributor

nhooyr commented Mar 7, 2019

If you don't mind, I'll take this over to get this out quicker. Will credit you in my PR.

code-asher pushed a commit that referenced this pull request Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@nhooyr nhooyr nhooyr requested changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Locales are not available in local docker image
2 participants

AltStyle によって変換されたページ (->オリジナル) /