From aa831bc8a5e6b1ada24ad1c7e12311425e8d578c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Apr 2026 00:29:17 +0000 Subject: [PATCH] fulltextsearch: update elasticsearch from v8 to v9, switch apt-get to microdnf Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/53b5dc51-71a8-40d3-a262-4ef6ce59d92d Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com> --- Containers/fulltextsearch/Dockerfile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Containers/fulltextsearch/Dockerfile b/Containers/fulltextsearch/Dockerfile index 1b8fe765..d33f7ea2 100644 --- a/Containers/fulltextsearch/Dockerfile +++ b/Containers/fulltextsearch/Dockerfile @@ -1,20 +1,17 @@ # syntax=docker/dockerfile:latest -# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile -FROM elasticsearch:8.19.14 +# Probably from here https://github.com/elastic/dockerfiles/blob/9.3/elasticsearch/Dockerfile +FROM elasticsearch:9.3.3 USER root -ARG DEBIAN_FRONTEND=noninteractive - -# hadolint ignore=DL3008 +# hadolint ignore=DL3041 RUN set -ex; \ \ - apt-get update; \ - apt-get upgrade -y; \ - apt-get install -y --no-install-recommends \ + microdnf update -y; \ + microdnf install -y --setopt=tsflags=nodocs \ tzdata \ ; \ - rm -rf /var/lib/apt/lists/*; + microdnf clean all; COPY --chmod=775 healthcheck.sh /healthcheck.sh