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

fix: keep ENV and PYTHONPATH when Composer is started as local user #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nbonnotte
Copy link

@nbonnotte nbonnotte commented Apr 18, 2024

Fix #46
Fix #60

Obviously this solution is not scalable to all the variables that are dropped when doing sudo -E. But the ENV variable seems more common than most of the others that are being dropped.

If someone has a better idea...

@nbonnotte nbonnotte changed the title fix: keep ENV when COMPOSER_CONTAINER_RUN_AS_HOST_USER fix: keep ENV when Composer is started as local user Apr 18, 2024
@nbonnotte
Copy link
Author

I updated the PR to fix #60 as well

@nbonnotte nbonnotte changed the title fix: keep ENV when Composer is started as local user fix: keep ENV and PYTHONPATH when Composer is started as local user Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant