mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Merge pull request #2495 from nextcloud/elastic-dockerfile
optimze elastic Dockerfile
This commit is contained in:
commit
396fb671fe
1 changed files with 3 additions and 3 deletions
|
|
@ -1,15 +1,15 @@
|
||||||
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
||||||
FROM elasticsearch:7.17.10
|
FROM elasticsearch:7.17.10
|
||||||
|
|
||||||
RUN elasticsearch-plugin install --batch ingest-attachment
|
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
|
export DEBIAN_FRONTEND=noninteractive; \
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
tzdata \
|
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
|
HEALTHCHECK CMD nc -z localhost 9200 || exit 1
|
||||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue