2022-08-17 21:09:22 +08:00
|
|
|
# From https://github.com/h2non/imaginary/blob/master/Dockerfile
|
2023-01-02 20:10:49 +08:00
|
|
|
FROM nextcloud/imaginary:20230101
|
2022-08-25 21:06:23 +08:00
|
|
|
|
|
|
|
USER root
|
|
|
|
RUN set -ex; \
|
|
|
|
\
|
|
|
|
apt-get update; \
|
|
|
|
apt-get install -y --no-install-recommends \
|
2022-10-07 04:34:10 +08:00
|
|
|
netcat \
|
2022-08-25 21:06:23 +08:00
|
|
|
; \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
USER nobody
|
|
|
|
|
2022-11-11 22:28:48 +08:00
|
|
|
ENTRYPOINT ["/usr/local/bin/imaginary", "-return-size"]
|
|
|
|
|
2023-01-30 21:54:09 +08:00
|
|
|
HEALTHCHECK CMD nc -z localhost 9000 || exit 1
|
|
|
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|