From 243595e9f47b84a4eab257e995066cc9ddec2758 Mon Sep 17 00:00:00 2001 From: Scott Aubrey Date: Tue, 22 Oct 2024 07:56:54 +0100 Subject: [PATCH] remove the custom opensearch image and rely on upstream image --- Dockerfile.opensearch | 16 ---------------- docker-compose.yaml | 4 +--- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 Dockerfile.opensearch diff --git a/Dockerfile.opensearch b/Dockerfile.opensearch deleted file mode 100644 index cf68f24e..00000000 --- a/Dockerfile.opensearch +++ /dev/null @@ -1,16 +0,0 @@ -FROM opensearchproject/opensearch:2 -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-security -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-performance-analyzer -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-security-analytics -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-reports-scheduler -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-cross-cluster-replication -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-notifications -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-notifications-core -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-alerting -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-anomaly-detection -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-skills -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-ml -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-asynchronous-search -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-neural-search -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-knn -RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-geospatial diff --git a/docker-compose.yaml b/docker-compose.yaml index 4ea90f3a..b3574d89 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,8 +1,6 @@ services: opensearch: - build: - context: . - dockerfile: Dockerfile.opensearch + image: opensearchproject/opensearch:2 environment: - cluster.name=opensearch-cluster - node.name=opensearch