From cf8ba936c9f775aa73fefbcca16ce1892d26cfd2 Mon Sep 17 00:00:00 2001 From: Robert Riemann Date: Tue, 29 Oct 2024 15:12:15 +0100 Subject: [PATCH] elastic container: ingest-attachment is now module and not a plugin When this command is executed in elastic search v8.15.3, then this warning shows up: ~~~ bin/elasticsearch-plugin install --batch ingest-attachment warning: ignoring JAVA_HOME=/opt/bitnami/java; using ES_JAVA_HOME -> Installing ingest-attachment [ingest-attachment] is no longer a plugin but instead a module packaged with this distribution of Elasticsearch -> Please restart Elasticsearch to activate any plugins installed ~~~ The elastic website says: "The Ingest Attachment plugin is now included in Elasticsearch. See the Ingest Attachment processor." Source: Hence, I remove the explicit installation from the elastic container image. Signed-off-by: Robert Riemann --- Containers/fulltextsearch/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Containers/fulltextsearch/Dockerfile b/Containers/fulltextsearch/Dockerfile index b67b1067..4da28fa1 100644 --- a/Containers/fulltextsearch/Dockerfile +++ b/Containers/fulltextsearch/Dockerfile @@ -14,8 +14,7 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ tzdata \ ; \ - rm -rf /var/lib/apt/lists/*; \ - elasticsearch-plugin install --batch ingest-attachment + rm -rf /var/lib/apt/lists/*; USER 1000:0