-
Notifications
You must be signed in to change notification settings - Fork 493
restore gosu suid bit when container stops #333
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
Conversation
916236b
to
8318e99
Compare
8318e99
to
4ea729e
Compare
includeScriptDir /opt/docker/provision/entrypoint.d/teardown | ||
} | ||
trap 'teardownEntrypoint' SIGTERM | ||
runEntrypoints & |
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.
You must hand over the first argument given by the general entrypoint.sh
script.
The entrypoint system is constructed to have alternative services instead of supervisord
to run.
By omitting that argument that becomes impossible and will break many setups.
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.
im not very experienced in bash, and was a little bit confused by the fact that
the function runEntrypoints
doesn't expect any argument and also doesn't provide it
explicitely to its task scripts. so i assumed the parameter handling in the task doesn't
work anyway. but now i just tried some scripts and was very suprised :)
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.
Yes, the "$@"
is basically a ...
in other programming languages
@kaluzki Unfortunately I had to revert the merge, because a very widely usage to get an interactive shell doesn't work anymore with this solution:
Expected:
I've backuped the merged result in the branch Thx for contributing |
#226
thanks to these guys: