2022-08-22 19:04:44 +08:00
|
|
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
2023-02-08 20:07:47 +08:00
|
|
|
FROM elasticsearch:7.17.9
|
2022-08-22 19:04:44 +08:00
|
|
|
|
2022-08-25 19:33:16 +08:00
|
|
|
RUN elasticsearch-plugin install --batch ingest-attachment
|
2022-08-25 22:18:46 +08:00
|
|
|
|
2022-12-29 01:48:40 +08:00
|
|
|
RUN set -ex; \
|
|
|
|
\
|
|
|
|
apt-get update; \
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
tzdata \
|
|
|
|
; \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2023-02-02 06:52:28 +08:00
|
|
|
COPY start.sh /
|
|
|
|
|
|
|
|
RUN chmod +x /start.sh
|
2023-02-02 18:49:25 +08:00
|
|
|
ENTRYPOINT ["/bin/tini", "--", "/start.sh"]
|
2023-02-02 06:52:28 +08:00
|
|
|
|
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"
|