Skip to content

fix(paperless-ngx): remove obsolete ImageMagick policy copy - #389

Merged
bdossantos merged 2 commits into
masterfrom
copilot/fix-github-actions-job-failure
Nov 1, 2026
Merged

bdossantos merged 2 commits into
masterfrom
copilot/fix-github-actions-job-failure

Conversation

Copilot AI commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

The Paperless image build fails because v3.4.1 removed the upstream ImageMagick policy file referenced by COPY.

  • Dockerfile: Remove the stale copy instruction, leaving Debian Trixie’s ImageMagick 7 policy intact.
  • Regression coverage: Check that the distro policy exists, remains root-owned, and loads successfully.

Co-authored-by: bdossantos <245284+bdossantos@users.noreply.github.com>
@bdossantos
bdossantos marked this pull request as ready for review November 1, 2026 13:42
Copilot AI balanced review requested due to automatic review settings November 1, 2026 13:42
@bdossantos
bdossantos merged commit 3efff71 into master Nov 1, 2026
@bdossantos
bdossantos deleted the copilot/fix-github-actions-job-failure branch November 1, 2026 13:42
Copilot AI restored the copilot/fix-github-actions-job-failure branch November 1, 2026 13:42
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build for Dockerfile fix(paperless-ngx): remove obsolete ImageMagick policy copy Nov 1, 2026
Copilot AI requested a review from bdossantos November 1, 2026 13:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block approval of the change removing the obsolete ImageMagick policy copy and preserving the distro policy.

No open issues 🎉

What changed in this PR

Fixes the Paperless-ngx image build after v3.4.1 removed the upstream ImageMagick policy file, preserving Debian Trixie’s ImageMagick 7 policy instead.

Changes:

  • Removes the obsolete policy-copy instruction.
  • Adds regression checks that the distro policy exists, is root-owned, and loads successfully.
File Description
tests/​paperless-ngx.yaml Adds policy existence, ownership, and loading checks.
dockerfiles/​paperless-ngx/​Dockerfile Removes the stale upstream policy copy.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants