Repository navigation
Conversation
For use with OpenShift or Kubernetes, the images must follow some rules for compatiblity purpose. The build must be reproducible, hence fixed package versions should be used (the base image packages should not be updated for instance). Besides, additional packages must be installed at build time and not at runtime, therefore the database initialization and the new packages installation have been separated. The main changes are: - The use of the Debian Bookworm base base image. - The scripts have been split, to only keep the database initialization in the entrypoint and the packages installation in the Dockerfile - The configuration files such as SMTP server is parametrized at build time, but can be overwritten by configmap at runtime. - Other runtime parameters as secrets and DB host name are read from the environment variables.
The base mariadb 10.11 image is rebuilt to startup with default arguments and is embedded with the Monarc database initialization scripts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
In the scope of the OpenShift/Kubernetes integration, the local.php script has been updated to add external mail relay support via environment variables.