restore gosu suid bit when container stops#333
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.
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.
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.
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: