@@ -76,6 +76,39 @@ RUN <<EOF
7676# The JDK from jdk-base is used instead.
7777rm -r jdk
7878
79+ # Install common plugins that are also used in the official image.
80+ #
81+ # TODO: The LTR plugin is currently missing because an official release for OpenSearch 3.x versions is missing.
82+ # There are tags for 3.x version in the git repo, so it can be built from source:
83+ # See https://github.com/opensearch-project/opensearch-learning-to-rank-base
84+ /stackable/opensearch-${PRODUCT_VERSION}-stackable${RELEASE_VERSION}/bin/opensearch-plugin \
85+ install \
86+ --batch \
87+ org.opensearch.plugin:alerting:${OPENSEARCH_ALERTING_PLUGIN_VERSION} \
88+ org.opensearch.plugin:opensearch-job-scheduler:${OPENSEARCH_JOB_SCHEDULER_PLUGIN_VERSION} \
89+ org.opensearch.plugin:opensearch-anomaly-detection:${OPENSEARCH_ANOMALY_DETECTION_PLUGIN_VERSION} \
90+ org.opensearch.plugin:asynchronous-search:${OPENSEARCH_ASYNCHRONOUS_SEARCH_VERSION} \
91+ org.opensearch.plugin:opensearch-cross-cluster-replication:${OPENSEARCH_CROSS_CLUSTER_REPLICATION_PLUGIN_VERSION} \
92+ org.opensearch.plugin:opensearch-custom-codecs:${OPENSEARCH_CUSTOM_CODECS_PLUGIN_VERSION} \
93+ org.opensearch.plugin:opensearch-flow-framework:${OPENSEARCH_FLOW_FRAMEWORK_PLUGIN_VERSION} \
94+ org.opensearch.plugin:geospatial:${OPENSEARCH_GEOSPATIAL_PLUGIN_VERSION} \
95+ org.opensearch.plugin:opensearch-index-management:${OPENSEARCH_INDEX_MANAGEMENT_PLUGIN_VERSION} \
96+ org.opensearch.plugin:opensearch-knn:${OPENSEARCH_KNN_PLUGIN_VERSION} \
97+ org.opensearch.plugin:opensearch-ml-plugin:${OPENSEARCH_ML_PLUGIN_VERSION} \
98+ org.opensearch.plugin:neural-search:${OPENSEARCH_NEURAL_SEARCH_PLUGIN_VERSION} \
99+ org.opensearch.plugin:opensearch-notifications-core:${OPENSEARCH_NOTIFICATIONS_CORE_PLUGIN_VERSION} \
100+ org.opensearch.plugin:notifications:${OPENSEARCH_NOTIFICATIONS_PLUGIN_VERSION} \
101+ org.opensearch.plugin:opensearch-observability:${OPENSEARCH_OBSERVABILITY_PLUGIN_VERSION} \
102+ org.opensearch.plugin:performance-analyzer:${OPENSEARCH_PERFORMANCE_ANALYZER_PLUGIN_VERSION} \
103+ org.opensearch.plugin:opensearch-reports-scheduler:${OPENSEARCH_REPORTS_SCHEDULER_PLUGIN_VERSION} \
104+ org.opensearch.plugin:opensearch-search-relevance:${OPENSEARCH_SEARCH_RELEVANCE_PLUGIN_VERSION} \
105+ org.opensearch.plugin:opensearch-security-analytics:${OPENSEARCH_SECURITY_ANALYTICS_PLUGIN_VERSION} \
106+ org.opensearch.plugin:opensearch-skills:${OPENSEARCH_SKILLS_PLUGIN_VERSION} \
107+ org.opensearch.plugin:opensearch-sql-plugin:${OPENSEARCH_SQL_PLUGIN_VERSION} \
108+ org.opensearch.plugin:opensearch-system-templates:${OPENSEARCH_SYSTEM_TEMPLATES_PLUGIN_VERSION} \
109+ org.opensearch.plugin:opensearch-ubi:${OPENSEARCH_UBI_PLUGIN_VERSION} \
110+ org.opensearch.plugin:query-insights:${QUERY_INSIGHTS_PLUGIN_VERSION}
111+
79112# Change the group permissions already in the builder image to reduce
80113# the size of the final image.
81114# see https://github.com/stackabletech/docker-images/issues/961
0 commit comments