From 89054db912265ec3be538f70f986385dbf399ae2 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Mon, 2 Sep 2024 11:03:50 -0400 Subject: fix(docker): Allow container to be ran as read-only filesystem # https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518 # https://github.com/dotnet/runtime/issues/9336 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 07278892..feedbee1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,7 +58,8 @@ VOLUME /app HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health -ENV DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \ +ENV COMPlus_EnableDiagnostics="0" \ + DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \ DOTNET_gcServer=0 \ DOTNET_gcConcurrent=1 \ DOTNET_GCHeapHardLimit=1F400000 \ -- cgit v1.2.3 From 900c5e1334344aba1c8126dab255f929e00088ba Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Mon, 2 Sep 2024 11:06:19 -0400 Subject: Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index feedbee1..325d92a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,7 +58,7 @@ VOLUME /app HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health -ENV COMPlus_EnableDiagnostics="0" \ +ENV COMPlus_EnableDiagnostics=0 \ DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \ DOTNET_gcServer=0 \ DOTNET_gcConcurrent=1 \ -- cgit v1.2.3