[Solr] Change default configset before bootstrapping

[Solr] Bootstrap cannot be omitted and must occur before mounting the data directory
This commit is contained in:
andryyy
2019-03-12 23:15:26 +01:00
parent 884c7fade1
commit fc63661fbd
4 changed files with 16 additions and 26 deletions

View File

@@ -1,8 +1,12 @@
FROM solr:7.7-alpine
USER root
COPY docker-entrypoint.sh /
COPY solr-config-7.7.0.xml /
COPY solr-schema-7.7.0.xml /
RUN apk --no-cache add su-exec curl tzdata \
&& chmod +x /docker-entrypoint.sh
&& chmod +x /docker-entrypoint.sh \
&& bash /docker-entrypoint.sh --bootstrap
ENTRYPOINT ["/docker-entrypoint.sh"]