2022-08-22 13:04:44 +02:00
|
|
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
2023-06-27 11:51:53 +02:00
|
|
|
FROM elasticsearch:8.8.0
|
2022-08-25 16:18:46 +02:00
|
|
|
|
2023-06-06 16:41:26 +02:00
|
|
|
USER root
|
|
|
|
|
|
2022-12-28 18:48:40 +01:00
|
|
|
RUN set -ex; \
|
|
|
|
|
\
|
2023-05-03 17:50:33 +02:00
|
|
|
export DEBIAN_FRONTEND=noninteractive; \
|
2022-12-28 18:48:40 +01:00
|
|
|
apt-get update; \
|
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
|
tzdata \
|
|
|
|
|
; \
|
2023-05-03 16:30:48 +02:00
|
|
|
rm -rf /var/lib/apt/lists/*; \
|
|
|
|
|
elasticsearch-plugin install --batch ingest-attachment
|
2022-12-28 18:48:40 +01:00
|
|
|
|
2023-06-06 12:10:54 +02:00
|
|
|
USER 1000:0
|
2023-06-03 14:56:05 +02:00
|
|
|
|
2022-12-28 18:48:40 +01:00
|
|
|
HEALTHCHECK CMD nc -z localhost 9200 || exit 1
|
2023-01-30 15:33:12 +01:00
|
|
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|