|
| 1 | +# Copyright The OpenTelemetry Authors |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 3 | + |
| 4 | +FROM opensearchproject/opensearch:3.2.0 |
| 5 | + |
| 6 | +USER 0 |
| 7 | + |
| 8 | +# Remove plugins in dependency order - remove dependent plugins first |
| 9 | +# These plugins are not needed for basic log storage and retrieval in the demo |
| 10 | +RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-security-analytics && \ |
| 11 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-alerting && \ |
| 12 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-anomaly-detection && \ |
| 13 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-asynchronous-search && \ |
| 14 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-cross-cluster-replication && \ |
| 15 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-custom-codecs && \ |
| 16 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-flow-framework && \ |
| 17 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-geospatial && \ |
| 18 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-neural-search && \ |
| 19 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-knn && \ |
| 20 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-ltr && \ |
| 21 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-skills && \ |
| 22 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-ml && \ |
| 23 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-notifications && \ |
| 24 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-notifications-core && \ |
| 25 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-observability && \ |
| 26 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-performance-analyzer && \ |
| 27 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-reports-scheduler && \ |
| 28 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-search-relevance && \ |
| 29 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-system-templates && \ |
| 30 | + /usr/share/opensearch/bin/opensearch-plugin remove opensearch-ubi && \ |
| 31 | + /usr/share/opensearch/bin/opensearch-plugin remove query-insights |
| 32 | + |
| 33 | +# Keep only these essential plugins: |
| 34 | +# - opensearch-security (authentication/authorization) - already disabled via env var |
| 35 | +# - opensearch-index-management (index lifecycle management) |
| 36 | +# - opensearch-sql (SQL query support for Grafana PPL queries) |
| 37 | +# - opensearch-job-scheduler (task scheduling) |
| 38 | + |
| 39 | +USER 1000 |
0 commit comments