forked from TYPO3-Solr/ext-solr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
!!![TASK] Upgrade to Apache Solr 9.3.0
Note this change requires on third party installations enabling stream feature via the ENV vars or system properties. Following variables are set in Docker images: * `SOLR_ENABLE_REMOTE_STREAMING=true` * `SOLR_ENABLE_STREAM_BODY=true` For more information see: * https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#security * https://issues.apache.org/jira/browse/SOLR-14853 Ports: TYPO3-Solr#3748
- Loading branch information
1 parent
29c1933
commit 1bc890c
Showing
6 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM solr:9.2.1 | ||
FROM solr:9.3.0 | ||
MAINTAINER dkd Internet Service GmbH <[email protected]> | ||
ENV TERM linux | ||
|
||
|
@@ -11,7 +11,12 @@ RUN rm -fR /opt/solr/server/solr/* \ | |
&& groupmod --non-unique --gid "${SOLR_UNIX_GID}" solr \ | ||
&& chown -R solr:solr /var/solr /opt/solr \ | ||
&& apt update && apt upgrade -y && apt install sudo -y \ | ||
&& echo "solr ALL=NOPASSWD: /docker-entrypoint-initdb.d/as-sudo/*" > /etc/sudoers.d/solr | ||
&& echo "solr ALL=NOPASSWD: /docker-entrypoint-initdb.d/as-sudo/*" > /etc/sudoers.d/solr \ | ||
&& echo "# EXT:solr relevant changes: " >> /etc/default/solr.in.sh \ | ||
&& echo "SOLR_ENABLE_REMOTE_STREAMING=true" >> /etc/default/solr.in.sh \ | ||
&& echo "SOLR_ENABLE_STREAM_BODY=true" >> /etc/default/solr.in.sh \ | ||
&& echo "# END: EXT:solr" >> /etc/default/solr.in.sh \ | ||
|
||
COPY Docker/SolrServer/docker-entrypoint-initdb.d/ /docker-entrypoint-initdb.d | ||
USER solr | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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