Commit graph

9 commits

Author SHA1 Message Date
nitrobass24
d51bb2ff02 Fix Docker build: copy Logo directory for embedded resource
Prowlarr.Core.csproj references Logo/64.png as an embedded resource
via a path relative to the repo root.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00
nitrobass24
0e095834f3 Fix Docker build: disable analyzers at restore time too
StyleCop PackageReference is conditionally included based on
EnableAnalyzers at restore time. Without it during restore, the
analyzer DLLs get restored and run during publish regardless.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00
nitrobass24
bc5688bdd1 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) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00
nitrobass24
1b6d3fbeb7 Fix Docker build: add explicit -f net8.0 to publish command
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00
nitrobass24
762fe61df3 Fix Docker build: publish Console project instead of Windows GUI
NzbDrone/Prowlarr.csproj is the Windows GUI entry point (WinForms,
net8.0-windows). NzbDrone.Console/Prowlarr.Console.csproj is the
headless Linux entry point (net8.0) which outputs as 'Prowlarr'.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00
nitrobass24
94d619229b Fix Docker build: specify net8.0 framework for publish
The project multi-targets net8.0 and net8.0-windows, so dotnet publish
requires an explicit --framework to disambiguate.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00
nitrobass24
20081b0687 Fix Docker build: enable Windows targeting for cross-platform restore
Prowlarr.csproj multi-targets net8.0-windows which fails to restore on
Alpine Linux without EnableWindowsTargeting=true.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00
nitrobass24
9a053d0814 Fix Docker build: restore app project instead of full solution
The solution includes test projects whose csproj files aren't copied
into the Docker build context, causing restore to fail.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00
nitrobass24
e09567659a Add Docker image build to CI pipeline
Multi-stage Dockerfile using hotio/base:alpinevpn with s6-overlay.
Docker job runs after backend, unit-tests, and frontend pass.
Builds linux/amd64 and linux/arm64 images, pushes to GHCR on
non-PR events. Supports manual dispatch with optional version tag.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 22:57:25 -05:00