Apache Solr open-source search software
SOLR-16323: Use the Solr User ID for the Dockerfile (#961)
Houston Putman7cdc15e9a8ad
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 1b506740eca..24a0db72b10 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -64,6 +64,8 @@ Improvements* SOLR-16257: Improve ZkStateReader to avoid race condition between collectionWatches and watchedCollectionStates(Patson Luk, Houston Putman, Mike Drob)+* SOLR-16323: The Docker image now uses the Solr User ID instead of the User Name, helps with non-root checks (Houston Putman)+Optimizations---------------------* SOLR-16120: Optimise hl.fl expansion. (Christine Poerschke, David Smiley, Mike Drob)diff --git a/solr/docker/templates/Dockerfile.body.template b/solr/docker/templates/Dockerfile.body.templateindex 58b93ae86fa..27ea08dc4a5 100644--- a/solr/docker/templates/Dockerfile.body.template+++ b/solr/docker/templates/Dockerfile.body.template@@ -76,7 +76,7 @@ RUN set -ex; \VOLUME /var/solrEXPOSE 8983WORKDIR /opt/solr-USER $SOLR_USER+USER $SOLR_UIDENTRYPOINT ["docker-entrypoint.sh"]CMD ["solr-foreground"]