-
Notifications
You must be signed in to change notification settings - Fork 330
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
Adding a Script in "./httpd-pre-init" does not work as expected #213
Comments
Thanks for reporting this issue. There is inconsistency in what is in the code and what is in the readme. README describes @dirkrydvan So hotfix for this issue is to use |
@omron93 Yeah, naming is never easy :) my thinking behind this was to use the same entrypoint names where I'd expect the same content/use case for |
is in the code. Fixes: sclorg#213
is in the code. Fixes: sclorg#213
is in the code. Fixes: sclorg#213
is in the code. Fixes: sclorg#213
Hello,
at https://github.com/sclorg/s2i-php-container/blob/master/7.1/README.md is explained, how to extend the image with a Script that get started before httpd starts.
I add a skript in the httpd-pre-init subfolder directly at the git source root folder.
And there I placed a example.sh script.
I expected, that this script get started with the resulting container. But it wont be started.
The script exists inside the container:
It seams, that the "run-httpd" script from the sclorg apache 2.4 container will not used/not exist:
Maybe some for pre-start or is missing here to use function process_extending_files() from common.sh
https://github.com/sclorg/s2i-php-container/tree/master/7.0/root/usr/share/container-scripts/php
What is necessary, that this script get started once inside the container?
Many Thanks advance
The text was updated successfully, but these errors were encountered: