2022-08-22 19:04:44 +08:00
|
|
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
2023-05-03 22:57:57 +08:00
|
|
|
FROM elasticsearch:7.17.10
|
2022-08-25 22:18:46 +08:00
|
|
|
|
2022-12-29 01:48:40 +08:00
|
|
|
RUN set -ex; \
|
|
|
|
\
|
2023-05-03 23:50:33 +08:00
|
|
|
export DEBIAN_FRONTEND=noninteractive; \
|
2022-12-29 01:48:40 +08:00
|
|
|
apt-get update; \
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
tzdata \
|
|
|
|
; \
|
2023-05-03 22:30:48 +08:00
|
|
|
rm -rf /var/lib/apt/lists/*; \
|
|
|
|
elasticsearch-plugin install --batch ingest-attachment
|
2022-12-29 01:48:40 +08:00
|
|
|
|
2023-06-03 20:56:05 +08:00
|
|
|
USER 1000
|
|
|
|
|
2022-12-29 01:48:40 +08:00
|
|
|
HEALTHCHECK CMD nc -z localhost 9200 || exit 1
|
2023-01-30 22:33:12 +08:00
|
|
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|