2024-02-16 16:21:18 +01:00
|
|
|
# syntax=docker/dockerfile:latest
|
2022-08-22 13:04:44 +02:00
|
|
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
2024-06-13 12:51:32 +00:00
|
|
|
FROM elasticsearch:8.14.1
|
2022-08-25 16:18:46 +02:00
|
|
|
|
2023-06-06 16:41:26 +02:00
|
|
|
USER root
|
|
|
|
|
|
2024-06-21 13:27:36 +02:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2024-04-17 17:52:42 +02:00
|
|
|
|
2023-08-23 16:06:17 +02:00
|
|
|
# hadolint ignore=DL3008
|
2022-12-28 18:48:40 +01:00
|
|
|
RUN set -ex; \
|
|
|
|
|
\
|
|
|
|
|
apt-get update; \
|
2024-04-17 17:52:42 +02:00
|
|
|
apt-get upgrade -y; \
|
2022-12-28 18:48:40 +01:00
|
|
|
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
|
|
|
|
2024-05-28 17:24:28 +02:00
|
|
|
HEALTHCHECK CMD nc -z 127.0.0.1 9200 || exit 1
|
2023-06-26 00:56:08 +02:00
|
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|