diff --git a/opensearch/2.14/Dockerfile b/opensearch/2.14/Dockerfile new file mode 100644 index 0000000..55930f0 --- /dev/null +++ b/opensearch/2.14/Dockerfile @@ -0,0 +1,15 @@ +FROM opensearchproject/opensearch:2.14.0 + +ARG ANALYSIS_EXTENSION_PLUGIN=org.codelibs.opensearch:opensearch-analysis-extension:2.14.0 +ARG ANALYSIS_FESS_PLUGIN=org.codelibs.opensearch:opensearch-analysis-fess:2.14.0 +ARG MINHASH_PLUGIN=org.codelibs.opensearch:opensearch-minhash:2.14.0 +ARG CONFIGSYNC_PLUGIN=org.codelibs.opensearch:opensearch-configsync:2.14.0 + +RUN /usr/share/opensearch/bin/opensearch-plugin install $ANALYSIS_FESS_PLUGIN -b && \ + /usr/share/opensearch/bin/opensearch-plugin install $ANALYSIS_EXTENSION_PLUGIN -b && \ + /usr/share/opensearch/bin/opensearch-plugin install $MINHASH_PLUGIN -b && \ + /usr/share/opensearch/bin/opensearch-plugin install $CONFIGSYNC_PLUGIN -b && \ + echo 'configsync.config_path: ${FESS_DICTIONARY_PATH}' >> /usr/share/opensearch/config/opensearch.yml && \ + mkdir /usr/share/opensearch/config/dictionary && \ + chown opensearch /usr/share/opensearch/config/dictionary +