Docker + .NET Core 2.0 + Https Images
See original GitHub issueI’m currently running DinkToPdf on my macOS without any problem.
My webpages use external HTTPS ressources such as
- two images
- 1 CSS file
In Docker, using a asp-net-2.0 base image (along with added-dependencies
apt-get install -y --no-install-recommends zlib1g fontconfig libfreetype6 libx11-6 libxext6 libxrender1
For some reason, the PDF rendered has no image, and no CSS.
How can I fix this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
ASP.NET Core Runtime by Microsoft
This image contains the ASP.NET Core and .NET runtimes and libraries and is optimized for running ASP.NET Core apps in production. Composite container...
Read more >NET SDK by Microsoft
This image contains the .NET SDK which is comprised of three parts: .NET CLI .NET runtime; ASP.NET Core. Use this image for your...
Read more >Docker images for ASP.NET Core
Learn how to use the published ASP.NET Core Docker images from the Docker Registry. Pull and build your own images.
Read more >Official .NET Docker images
NET Docker images are Docker images created and optimized by Microsoft. They're publicly available on Microsoft Artifact Registry.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dekim Thanks for your response, I found out the solution for aspnetcore2.0 image and it worked. If you still would like to use external https resources, you can try:
awesome, this is working on .net core 3.0 too