This repo is directly forked from the official docker-solr repo
if you want to create a simple core named simple.core
FROM sebinpj/solr:8.4
RUN solr start \
&& solr create -c simple.core \
CMD ["solr-foreground"]If you want to create a core with custom schema
FROM sebinpj/solr:8.4
RUN solr start \
&& solr create -c schema.core \
&& solr stop
COPY managed-schema /var/solr/data/schema.core/conf/managed-schema
CMD ["solr-foreground"]to build a image run
tools\build.sh <solr_version> # based on directoryMake sure all files are under LF file endings when creating image