From bc5688bdd1bbf534387d971be966bae92c8025c1 Mon Sep 17 00:00:00 2001 From: nitrobass24 Date: Mon, 6 Apr 2026 21:56:58 -0500 Subject: [PATCH] Fix Docker build: disable StyleCop analyzers during publish Upstream has TreatWarningsAsErrors=true and StyleCop violations in existing code. The CI backend build already uses EnableAnalyzers=false. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b1571d0f9..3d0afa92a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,7 @@ RUN dotnet publish src/NzbDrone.Console/Prowlarr.Console.csproj \ -r "$(cat /tmp/rid)" \ --self-contained \ --no-restore \ + -p:EnableAnalyzers=false \ -o /build/bin && \ rm -rf /build/bin/Prowlarr.Update /build/bin/Prowlarr.Windows.* \ /build/bin/ServiceInstall.* /build/bin/ServiceUninstall.*