Using DinkToPDF on Alpine Linux

One of my recent projects has been containerizing a .NET Core 2.1 application which uses DinkToPDF for producing PDFs. I always default to Alpine for my containers. Here I’ll describe using DinkToPDF on Alpine Linux. At the time of writing, the current version of Alpine in 3.12, that is what I started with. My Alpine Linux Environment I am doing my testing in a container built from mcr.microsoft.com/dotnet/core/aspnet:2.1-alpine3.12 The Issue with DinkToPDF This error was getting throw each time I tried to use Dink....

December 16, 2020 · 3 min · chart