-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (21 loc) · 924 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM solr:8.4
MAINTAINER UNB Libraries <libsupport@unb.ca>
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL ca.unb.lib.generator="solr" \
com.microscaling.docker.dockerfile="/Dockerfile" \
com.microscaling.license="MIT" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.description="solr-drupal provides a quickstart basis for local Solr development in Drupal 8." \
org.label-schema.name="solr-drupal" \
org.label-schema.schema-version="1.0" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/unb-libraries/docker-solr-drupal" \
org.label-schema.vendor="University of New Brunswick Libraries" \
org.label-schema.version=$VERSION \
org.opencontainers.image.source="https://github.com/unb-libraries/docker-solr-drupal"
ADD data /solr-conf
VOLUME /opt/solr/server/solr/mycores/
COPY scripts /opt/docker-solr/scripts
CMD ["solr-precreate", "drupal", "/solr-conf"]