Re-add ability to create db if it did not exist #575
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removing the ability to create the WordPress database on container startup has broken environments that rely on that feature (see WordPress/gutenberg#29752 and ampproject/amp-wp#5974 as examples). Because of this change users relying on this image will now have to customize the image to add tools such as
wait-for-it
so that the container will wait on their MySQL container provision the database.I'm not sure why this feature has been removed as there are no commits or comments explaining the need for the change, but I do hope this PR is accepted so that users of the image won't have to wake up to a broken environment 😄.