Skip to content

Add docker-ensure-installed.sh as an explicit entrypoint/symlink #971

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 9, 2025

This allows using the image as `docker run --mount ... wordpress docker-ensure-installed.sh` which will then *just* ensure WordPress is installed in the volume and exit (successfully).

The primary use case for this is an `initContainer` in Kubernetes.
@yosifkit
Copy link
Member

This seems good to me but feels a bit reactionary (though it has been a fairly common ask in the past). Should we let it wait a bit to give users time to express their 👍 or just go for it?

Just to link a few past requests:

@tianon
Copy link
Member Author

tianon commented Jun 10, 2025

One way to look at it is that all those requests have been sitting in the back of my head simmering such that the latest iteration of it felt like it was "finally time" 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support running only the WordPress installation part from the entrypoint Argument check in docker-entrypoint.sh
2 participants