[ https://issues.apache.org/jira/browse/SOLR-15545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17382193#comment-17382193 ]
ASF subversion and git services commented on SOLR-15545: -------------------------------------------------------- Commit 3cb7e94f15d5e6cd595f57385a426797c8e226ea in solr's branch refs/heads/main from Houston Putman [ https://gitbox.apache.org/repos/asf?p=solr.git;h=3cb7e94 ] SOLR-15545: Properly source run-initdb in docker commands (#223) This allows for Environment Variables to be exported in initdb scripts. > Properly source run-initdb in docker commands > --------------------------------------------- > > Key: SOLR-15545 > URL: https://issues.apache.org/jira/browse/SOLR-15545 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Docker > Affects Versions: main (9.0) > Reporter: Houston Putman > Assignee: Houston Putman > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org