all-in-one/Containers/fulltextsearch/Dockerfile
Simon L 3e25acce24
Merge pull request #3231 from nextcloud/enh/3225/hadolint
adjust docker-lint to use hadolint
2023-09-27 12:10:33 +02:00

20 lines
566 B
Docker

# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
FROM elasticsearch:8.10.2
USER root
# hadolint ignore=DL3008
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.enable="false"