-
Notifications
You must be signed in to change notification settings - Fork 1.6k
docker entrypoints: use bash everywhere #11942
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
docker entrypoints: use bash everywhere #11942
Conversation
DryRun Security SummaryThe PR modifies Docker entrypoint scripts by switching from Expand for full summaryThe PR updates Docker entrypoint scripts by changing the shell interpreter from Security findings:
Code AnalysisWe ran |
I would like to know how it is possible that the tests passed (like before this fix). |
I don't know all the intricate details of how Looking at this post: https://stackoverflow.com/questions/4072984/how-do-i-get-the-effect-and-usefulness-of-set-e-inside-a-shell-function I don't think I want to know :-) |
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.
Approved
Some entrypoint scripts where using
sh
which doesn't recognizeif [[...
used in places likewait_for_database_to_be_reachable
Fixes these errors on startup:
Credits to @9alexx3 on Slack for suggesting this fix.