You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/07/16 16:32:00 UTC
[jira] [Commented] (SOLR-15545) Properly source run-initdb in
docker commands
[ 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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org