Skip to content

ABCpdf-Team/ABCpdf-Dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABCpdf Dockerfiles

This repo contains pipelines to build and push the most up-to-date images for our Docker Hub repositories.

These Docker images bundle the ABCpdf .NET library on top of Microsoft's official .NET runtime images, giving you a ready-to-run environment for PDF generation and manipulation.

The current images can be found at docker.com.

The current Trivy security scan results can be found here.

Quick Start

For .NET 10 you might use this.

docker pull abcpdf/mcr-aspnet:10.0

Or in a Dockerfile

FROM abcpdf/mcr-aspnet:10.0 AS base

Advantages of Using the Current Images

  • Latest security patches – Our weekly builds (every Tuesday at 3am UTC) include the most recent OS and library fixes, reducing exposure to known vulnerabilities.
  • Recent feature updates – You get new Linux functionality and improvements as soon as they're available, without waiting for a manual release cycle.
  • Trivy-scanned by default – Every container is automatically scanned for high-severity issues. Using the current image means you start from a known, audited state.
  • Predictable refresh cadence – Updates happen on a fixed schedule, so you can plan your own testing and deployment around Tuesday mornings.

Risks of Pulling from an Automated System

  • Unannounced breaking changes – Even with scanning, an update may introduce behavioural or API changes that break your application if you haven't tested against the new image.
  • Limited manual testing – Automated builds only include automated sanity checks. Rare edge-case regressions could reach users before they are noticed.
  • Unexpected dependency churn – A security fix for one library might upgrade another dependency altering performance or compatibility.
  • No version pinning by default – If you always pull the latest your environment can change without a code deploy.

Supply Chain Considerations

Automated builds pull from multiple independent systems, each introducing supply chain risk:

  • Compromised base images or packages – Upstream registries (Docker Hub etc) and third-party repos (apt, NuGet etc) could be hijacked, injecting vulnerabilities before our build runs.
  • Build pipeline tampering – If our CI system's scripts or secrets are compromised, an attacker could alter the final image without changing our source code.
  • Trivy database poisoning or delay – The scanner relies on external vulnerability feeds; a stale or corrupted database may miss real threats or flag false negatives.
  • Registry or mirror compromise – The image you pull could be replaced by a malicious one if the registry or a cache mirror is breached, even if our build was clean.

Recommendation

  • Use current images in development/staging to catch issues early.
  • Monitor the weekly build results (Trivy reports and any build logs) to stay aware of changes.
  • Mirror to your own registry - Cache the image you test against and push it to a private registry (eg ECR, ACR, Artifactory). Deployments can then point to your mirrored copy, to be updated at times of your choosing.
  • Fork this repository and build your own images – Consider forking the repo and generate images under your own registry. This eliminates reliance on our automated system while keeping the same foundation.

By combining the freshness of automated builds with careful promotion, pinning, and supply chain awareness, you get both security and stability.

About

Dockerfiles for generating Docker images for ABCpdf.NET on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors