From d974023c8db9358b0bbf1bf29d3a317db7cbae21 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 8 Mar 2023 11:08:03 +0100 Subject: [PATCH] imaginary - try to prevent possible memory issues Signed-off-by: Simon L --- Containers/imaginary/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Containers/imaginary/Dockerfile b/Containers/imaginary/Dockerfile index f3022937..82ca2dc1 100644 --- a/Containers/imaginary/Dockerfile +++ b/Containers/imaginary/Dockerfile @@ -24,3 +24,6 @@ ENTRYPOINT ["/usr/local/bin/imaginary", "-return-size", "-max-allowed-resolution HEALTHCHECK CMD nc -z localhost 9000 || exit 1 LABEL com.centurylinklabs.watchtower.monitor-only="true" + +# https://github.com/h2non/imaginary#memory-issues +ENV MALLOC_ARENA_MAX=2