Skip to content

Not working on Linux Envirotment #10

@vitorcampea

Description

@vitorcampea

It is not working on linux, tried aloot of things, had to import a new version of wkhtmltopdf that i found on the web and got it working for me.

This repository has "wkhtmltopdf 0.12.4" version and i had to create a docker image with "wkhtmltopdf 0.12.5 (with patched qt)"

Dockerfile
`FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base

...

// Install wkhtmltopdf dependencies
RUN apt-get update && apt-get install -y
xvfb
libfontconfig
wkhtmltopdf
libxrender1
libgdiplus
libc6-dev

...

// copy a working linux binary of wkhtmltopdf
// wkhtmltopdf 0.12.5 (with patched qt) -
// this is where i replace your wkhtmltopdf for a latest version
RUN cp newVersionFileForLinux /app/wkhtmltopdf/linux/x64/wkhtmltopdf`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions