mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 19:44:31 +08:00
c671018798
Signed-off-by: Zoey <zoey@z0ey.de>
23 lines
620 B
Docker
23 lines
620 B
Docker
# syntax=docker/dockerfile:latest
|
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
|
FROM elasticsearch:8.13.0
|
|
|
|
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/*; \
|
|
elasticsearch-plugin install --batch ingest-attachment
|
|
|
|
USER 1000:0
|
|
|
|
HEALTHCHECK CMD nc -z localhost 9200 || exit 1
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|