mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-09 23:17:46 +08:00
19 lines
546 B
Docker
19 lines
546 B
Docker
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
|
FROM elasticsearch:7.17.10
|
|
|
|
USER root
|
|
|
|
RUN set -ex; \
|
|
\
|
|
export DEBIAN_FRONTEND=noninteractive; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends \
|
|
tzdata \
|
|
; \
|
|
rm -rf /var/lib/apt/lists/*; \
|
|
elasticsearch-plugin install --batch ingest-attachment
|
|
|
|
USER 1000:0
|
|
|
|
HEALTHCHECK CMD nc -z localhost 9200 || exit 1
|
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|