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

[Lazy] Remove gosu #418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[Lazy] Remove gosu #418

wants to merge 1 commit into from

Conversation

nervo
Copy link
Member

@nervo nervo commented Feb 12, 2024

Remove gosu dependency, as s6-setuidgid (which is part of s6, already present in the container) performs the same service.

Note that unlike gosu (see: https://github.com/tianon/gosu/blob/b73cc93b6f5b5a045c397ff0f75190e33d853946/setup-user.go#L43), s6-setuidgid does not update the HOME environment variable to user home directory, leaving its value to /root (see: just-containers/s6-overlay#165).
That's why we have to export HOME="/home/lazy" right before calling s6-setuidgid.

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

Successfully merging this pull request may close these issues.

None yet

1 participant