add docker healthchecks to the docker images

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2022-08-25 15:06:23 +02:00
parent c90ee1c4db
commit 1edb422f3d
10 changed files with 35 additions and 2 deletions

View file

@ -1,2 +1,15 @@
# From https://github.com/h2non/imaginary/blob/master/Dockerfile
FROM nextcloud/imaginary:20220822
USER root
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
; \
rm -rf /var/lib/apt/lists/*
USER nobody
HEALTHCHECK CMD curl -skI 127.0.0.1:9000 || exit 1