From fcba2ffc42e58d2e4f0e7e46a3558df7c55f7a36 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Sat, 6 Apr 2024 13:00:25 -0400 Subject: [PATCH] fix: Add `COMPlus_EnableDiagnostics=0` ENV to container image (#231) This is env var is required for those that have a strict security policy on running containers. I don't see a downside to enabling this otherwise. More info here 1. https://github.com/dotnet/docs/issues/10217 2. https://github.com/dotnet/runtime/issues/96227 --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index bbab0f7f..baa6fa04 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -15,7 +15,8 @@ FROM base-$TARGETARCH AS final ENV PATH="${PATH}:/app/recyclarr" \ RECYCLARR_APP_DATA=/config \ CRON_SCHEDULE="@daily" \ - RECYCLARR_CREATE_CONFIG=false + RECYCLARR_CREATE_CONFIG=false \ + COMPlus_EnableDiagnostics=0 RUN set -ex; \ apk add --no-cache bash tzdata supercronic git tini; \