Skip to content
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

perl warnings #3

Open
sscien opened this issue Jan 13, 2022 · 2 comments
Open

perl warnings #3

sscien opened this issue Jan 13, 2022 · 2 comments

Comments

@sscien
Copy link
Collaborator

sscien commented Jan 13, 2022

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

@sscien
Copy link
Collaborator Author

sscien commented Jan 20, 2022

Set up this in bashrc won't work

export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8

You have to set up the locale in the image

Solution:
RUN locale-gen en_US.UTF-8 #quiet locale warnings

in the Dockerfile

@sscien
Copy link
Collaborator Author

sscien commented Feb 26, 2022

set up the locale in the image
One way to do this is
RUN locale-gen en_US.UTF-8 #quiet locale warnings
in the Dockerfile

Another way
you could add export LANG=C to your .bashrc to make that permanent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant