Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15545

Properly source run-initdb in docker commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0
    • 9.0
    • Docker
    • None

    Description

      Currently in various docker commands, such as solr-precreate, solr-foreground, solr-create and solr-demo, run-initdb is run as a child process. This means that any environment variables that are exported in run-initdb are ignored after the child-process is complete. We instead need to go back to sourcing run-initdb, so that the environment variables are passed to solr-fg.

      This is not the case in the 8.x docker-solr docker images, just the unreleased 9.0 docker image so far.

      Attachments

        Issue Links

          Activity

            People

              houston Houston Putman
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m