mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-09-21 14:04:42 +08:00
Bumps elasticsearch from 8.18.0 to 8.18.1. --- updated-dependencies: - dependency-name: elasticsearch dependency-version: 8.18.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
25 lines
690 B
Docker
25 lines
690 B
Docker
# syntax=docker/dockerfile:latest
|
|
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
|
FROM elasticsearch:8.18.1
|
|
|
|
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"
|
|
ENV ES_JAVA_OPTS="-Xms512M -Xmx512M"
|