mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-09 15:07:36 +08:00
cf8ba936c9
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: <https://www.elastic.co/guide/en/elasticsearch/plugins/current/ingest-attachment.html> Hence, I remove the explicit installation from the elastic container image. Signed-off-by: Robert Riemann <robert.riemann@edps.europa.eu>
22 lines
558 B
Docker
22 lines
558 B
Docker
# syntax=docker/dockerfile:latest
|
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
|
FROM elasticsearch:8.15.3
|
|
|
|
USER root
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
# hadolint ignore=DL3008
|
|
RUN set -ex; \
|
|
\
|
|
apt-get update; \
|
|
apt-get upgrade -y; \
|
|
apt-get install -y --no-install-recommends \
|
|
tzdata \
|
|
; \
|
|
rm -rf /var/lib/apt/lists/*;
|
|
|
|
USER 1000:0
|
|
|
|
HEALTHCHECK CMD nc -z 127.0.0.1 9200 || exit 1
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|