Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c89e3da

Browse filesBrowse files
The default package wkhtmltopdf provided by debian is built against an unpatched version of QT, so that it does not support export index to PDF with default --outline option. Use the wkhtmltopdf official release package on github to fix it. (solidnerd#310)
1 parent 1ec6387 commit c89e3da
Copy full SHA for c89e3da

File tree

Expand file treeCollapse file tree

1 file changed

+10
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-7
lines changed

‎Dockerfile

Copy file name to clipboardExpand all lines: Dockerfile
+10-7Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,20 @@ RUN set -x; \
2222
libxml2-dev \
2323
fontconfig \
2424
fonts-freefont-ttf \
25-
wkhtmltopdf \
25+
wget \
2626
tar \
2727
curl \
2828
libzip-dev \
2929
unzip \
30-
\
31-
&& docker-php-ext-install -j$(nproc) dom pdo pdo_mysql zip tidy \
32-
&& docker-php-ext-configure ldap \
33-
&& docker-php-ext-install -j$(nproc) ldap \
34-
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
35-
&& docker-php-ext-install -j$(nproc) gd
30+
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb \
31+
&& chmod a+x ./wkhtmltox_0.12.6-1.buster_amd64.deb \
32+
&& apt-get install -y ./wkhtmltox_0.12.6-1.buster_amd64.deb \
33+
&& rm ./wkhtmltox_0.12.6-1.buster_amd64.deb \
34+
&& docker-php-ext-install -j$(nproc) dom pdo pdo_mysql zip tidy \
35+
&& docker-php-ext-configure ldap \
36+
&& docker-php-ext-install -j$(nproc) ldap \
37+
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
38+
&& docker-php-ext-install -j$(nproc) gd
3639

3740
RUN a2enmod rewrite remoteip; \
3841
{ \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.