Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-33617

Modify docker-entrypoint.sh script to sort files with the extension *.sh before execution, ensuring better control over the sequence in which scripts are run before starting the mariadb service.

    XMLWordPrintable

Details

    Description

      This is a community contribution, to modify docker-entrypoint.sh script to sort files with the extension *.sh before execution, ensuring better control over the sequence in which scripts are run before starting the mariadb service.

      Currently, this is not the case, and I have come across some possible use cases where this will come in handy, example:

      • Loading custom cnf file dynamically
      • manioulating the default cnf file dynamically
      • creating ENV vars from secrets, etc.

      This will only involve modifying the `docker_process_init_files()` function of the docker-entrypoint.sh script.

      Attachments

        Activity

          People

            danblack Daniel Black
            michael.amadi Michael Amadi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.