-
Notifications
You must be signed in to change notification settings - Fork 5
Fix for perl locale issue #1
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
base: master
Are you sure you want to change the base?
Conversation
Should resolve `perl : warning : Setting locale failed. ` warnings when using `dotnet restore`.
| apt-get purge -y autoconf libtool make automake && \ | ||
| apt-get clean | ||
|
|
||
| RUN apt-get update \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nojaf thank you for the contribution. Is it necessary to add this package or is it sufficient to just enable the C.UTF-8 locale with this directive?
ENV LANG C.UTF-8
From the Debian base image:
Given that it is a faithful "minbase" install of Debian, this image only includes the C, C.UTF-8, and POSIX locales by default. For most uses requiring a UTF-8 locale, C.UTF-8 is likely sufficient (-e LANG=C.UTF-8 or ENV LANG C.UTF-8).
I would try this myself, but I'm not sure how to reproduce the issue.
|
Hi @ninjarobot I had the problem when restoring a giraffe template. I'll try your |
|
I'm sorry, Output of dotnet restore: |
|
Maybe it's one of the packages in my paket.dependencies that triggers the perl warning. paket.references |
Should resolve
perl : warning : Setting locale failed.warnings when usingdotnet restore.