-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Entrypoint fixes for CA certificates feature #416
Conversation
This avoids clashing with pre-existing downstream images which have used a custom entrypoint script at e.g. /entrypoint.sh
@gdams here you go. Do we need the original commit in here? |
Oh, damn, I need to generate all the stuff first. Sorry, coming right up. |
51c48ab
to
b1af31e
Compare
@rassie no need, the automation will handle that on merge |
Oh, cool, didn't know that. Same for tests? |
This PR fixes two problems with current implementation:
/entrypoint.sh
is a common file location for custom entrypoint scripts for images without a non-default entrypoint. Putting our entrypoint script there might lead to name clashes.sh
as shebang for the entrypoint scripts destroys environment variables with invalid names (e.g. with dots in them). Usingbash
as shebang avoids this problem, sincebash
keeps those variables as-is.Ref: #392 (#392 (comment))
Fixes: #415