-
Notifications
You must be signed in to change notification settings - Fork 968
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
LD_LIBRARY_PATH is modified when running Docker, causing issues #781
Comments
Oh, for more details please see this issue, where this was discovered. |
Looks like those variable are set by https://github.com/actions/setup-python/blob/main/src/find-python.ts#L121 |
Thanks, I will follow up there. |
I checked with actions/setup-python and someone on that project says the issue is not with the setting of environment variables, but with the env vars being passed from the outer environment into the Docker container. It does seem odd that env vars would automatically go to the Docker container. Can you shed any light on that behavior? |
Refs actions/runner#781, add LD_LIBRARY_PATH manually here for now before an upstream fix is added.
Refs actions/runner#781, add LD_LIBRARY_PATH manually here for now before an upstream fix is added.
Refs actions/runner#781, add LD_LIBRARY_PATH manually here for now before an upstream fix is added.
Refs actions/runner#781, add LD_LIBRARY_PATH manually here for now before an upstream fix is added.
I am going to close this since the root cause is actions/setup-python#159 |
Refs actions/runner#781, add LD_LIBRARY_PATH manually here for now before an upstream fix is added.
disallow actions/setup-python from changing environment variables; see: actions/runner#781 actions/setup-python#411
Sorry but I'm not sure this is the right repo to file this against. If there's a better repo let me know.
Describe the bug
A Docker container run via Github Actions has the
LD_LIBRARY_PATH
modified and that causes issues. For example, cloning a git repo with an https url causes libcurl related errors.To Reproduce
Git clone with an https url in a Docker container run from a Github Action.
Expected behavior
I expect LD_LIBRARY_PATH to not be modified, or for that to be explained somewhere, but I haven't been able to find it.
Runner Version and Platform
Version of your runner? It's hosted on Github Actions, not sure.
OS of the machine running the runner? Linux
What's not working?
Git clone for https urls doesn't work, exits with error.
Job Log Output
https://github.com/polm/fugashi/runs/1291141895?check_suite_focus=true
The text was updated successfully, but these errors were encountered: