mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
Signed-off-by: Erwan Hervé <erwan.herve@outlook.fr> Signed-off-by: Erwan Hervé <62173453+Erwan-loot@users.noreply.github.com> Co-authored-by: Simon L. <szaimen@e.mail.de>
33 lines
1.2 KiB
Docker
33 lines
1.2 KiB
Docker
# syntax=docker/dockerfile:latest
|
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
|
FROM elasticsearch:8.19.14
|
|
|
|
USER root
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
# hadolint ignore=DL3008
|
|
RUN set -ex; \
|
|
\
|
|
apt-get update; \
|
|
apt-get upgrade -y; \
|
|
apt-get install -y --no-install-recommends \
|
|
tzdata \
|
|
; \
|
|
rm -rf /var/lib/apt/lists/*;
|
|
|
|
COPY --chmod=775 healthcheck.sh /healthcheck.sh
|
|
|
|
USER 1000:0
|
|
|
|
HEALTHCHECK --interval=10s --timeout=5s --start-period=1m --retries=5 CMD /healthcheck.sh
|
|
LABEL com.centurylinklabs.watchtower.enable="false" \
|
|
wud.watch="false" \
|
|
org.opencontainers.image.title="Full Text Search for Nextcloud AIO" \
|
|
org.opencontainers.image.description="Elasticsearch-based full-text search for Nextcloud All-in-One" \
|
|
org.opencontainers.image.url="https://github.com/nextcloud/all-in-one" \
|
|
org.opencontainers.image.source="https://github.com/nextcloud/all-in-one" \
|
|
org.opencontainers.image.vendor="Nextcloud" \
|
|
org.opencontainers.image.documentation="https://github.com/nextcloud/all-in-one/blob/main/readme.md"
|
|
ENV ES_JAVA_OPTS="-Xms512M -Xmx512M"
|