Created
February 18, 2025 19:07
-
-
Save asadMarmash/8b161c70fd1430767326969f73196c52 to your computer and use it in GitHub Desktop.
Dockerfile for installing wkhtmltopdf 0.12.6.1 (with patched qt).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:24.04 | |
WORKDIR /app | |
RUN apt-get update -y | |
RUN apt-get install -y \ | |
xfonts-75dpi \ | |
wget \ | |
fontconfig \ | |
libjpeg-turbo8 \ | |
libx11-6 \ | |
libxcb1 \ | |
libxext6 \ | |
libxrender1 \ | |
xfonts-base | |
RUN wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb | |
RUN dpkg -i wkhtmltox_0.12.6.1-2.jammy_amd64.deb | |
RUN apt --fix-broken install -y | |
RUN rm wkhtmltox_0.12.6.1-2.jammy_amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment