This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_0 by this push:
new 826e9ec Symlink contrib to modules and prometheus-exporter folder for
9.x (#607)
826e9ec is described below
commit 826e9ecf36f64f671e75bcd07269430fe8ef1115
Author: Jan Høydahl <[email protected]>
AuthorDate: Fri Feb 11 21:21:04 2022 +0100
Symlink contrib to modules and prometheus-exporter folder for 9.x (#607)
(cherry picked from commit 52f7c36546c4994ea9793d570689cafdb3c902b6)
---
solr/docker/templates/Dockerfile.body.template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/solr/docker/templates/Dockerfile.body.template
b/solr/docker/templates/Dockerfile.body.template
index 8c6af02..0bcdd1f 100644
--- a/solr/docker/templates/Dockerfile.body.template
+++ b/solr/docker/templates/Dockerfile.body.template
@@ -64,7 +64,9 @@ RUN set -ex; \
mv /opt/solr/bin/solr.in.cmd /opt/solr/bin/solr.in.cmd.orig; \
chmod 0664 /etc/default/solr.in.sh; \
mkdir -p -m0770 /var/solr; \
- chown -R "$SOLR_USER:0" /var/solr;
+ chown -R "$SOLR_USER:0" /var/solr; \
+ ln -s /opt/solr/modules /opt/solr/contrib; \
+ ln -s /opt/solr/prometheus-exporter /opt/solr/modules/prometheus-exporter;
VOLUME /var/solr
EXPOSE 8983