2019-03-10 16:36:33 +08:00
|
|
|
FROM solr:7.7-alpine
|
2019-01-16 17:50:34 +08:00
|
|
|
USER root
|
|
|
|
COPY docker-entrypoint.sh /
|
2019-03-13 06:15:26 +08:00
|
|
|
COPY solr-config-7.7.0.xml /
|
|
|
|
COPY solr-schema-7.7.0.xml /
|
|
|
|
|
2019-01-16 17:50:34 +08:00
|
|
|
|
2019-02-09 00:03:38 +08:00
|
|
|
RUN apk --no-cache add su-exec curl tzdata \
|
2019-03-13 06:15:26 +08:00
|
|
|
&& chmod +x /docker-entrypoint.sh \
|
|
|
|
&& bash /docker-entrypoint.sh --bootstrap
|
2019-01-16 17:50:34 +08:00
|
|
|
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|