From 99e766719962962dd446c26a7d8cd4ef55c8edcd Mon Sep 17 00:00:00 2001 From: karel kremer Date: Mon, 10 Nov 2025 09:53:55 +0100 Subject: [PATCH 1/2] WIP: bump ES to 9.2.0 --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5956c17..f0d17c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ -FROM docker.elastic.co/elasticsearch/elasticsearch:7.17.28 +FROM docker.elastic.co/elasticsearch/elasticsearch:9.2.0 LABEL maintainer="Aad Versteden " -ENV TAKE_FILE_OWNERSHIP /usr/share/elasticsearch/data -ENV MAX_MAP_COUNT 262144 -ENV ES_JAVA_OPTS "-Xms2g -Xmx2g" +ENV TAKE_FILE_OWNERSHIP=/usr/share/elasticsearch/data +ENV MAX_MAP_COUNT=262144 +ENV ES_JAVA_OPTS="-Xms2g -Xmx2g" +ENV discovery.type=single-node +RUN printf "\nxpack.security.enabled: false\nxpack.security.enrollment.enabled: false\n" >> /usr/share/elasticsearch/config/elasticsearch.yml RUN sed -i '/-Des.bundled_jdk*/a -Dlog4j2.formatMsgNoLookups=true \\' /usr/share/elasticsearch/bin/elasticsearch From 4da09404ba6c2975d29afc3d8eeed09e270bec61 Mon Sep 17 00:00:00 2001 From: karel kremer Date: Wed, 12 Nov 2025 08:12:50 +0100 Subject: [PATCH 2/2] remove unsupported env var --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f0d17c2..768d430 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,6 @@ FROM docker.elastic.co/elasticsearch/elasticsearch:9.2.0 LABEL maintainer="Aad Versteden " -ENV TAKE_FILE_OWNERSHIP=/usr/share/elasticsearch/data ENV MAX_MAP_COUNT=262144 ENV ES_JAVA_OPTS="-Xms2g -Xmx2g" ENV discovery.type=single-node