mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
optimze elastic Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
844382d220
commit
f82818cbc6
1 changed files with 4 additions and 4 deletions
|
|
@ -1,15 +1,15 @@
|
|||
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
||||
FROM elasticsearch:7.17.10
|
||||
|
||||
RUN elasticsearch-plugin install --batch ingest-attachment
|
||||
FROM elasticsearch:7.17.9
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
RUN set -ex; \
|
||||
\
|
||||
apt-get update; \
|
||||
apt-get install -y --no-install-recommends \
|
||||
tzdata \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
elasticsearch-plugin install --batch ingest-attachment
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost 9200 || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue