# From https://github.com/h2non/imaginary/blob/master/Dockerfile FROM nextcloud/imaginary:20221101 USER root RUN set -ex; \ \ apt-get update; \ apt-get install -y --no-install-recommends \ ca-certificates \ curl \ netcat \ ; \ rm -rf /var/lib/apt/lists/* USER nobody ENTRYPOINT ["/usr/local/bin/imaginary", "-return-size"] HEALTHCHECK CMD nc -z localhost 9000 || exit 1