Use wkhtmltopdf with patched qt

Fixes the error thrown while exporting to pdf
This commit is contained in:
Shanavas M 2018-01-18 23:54:02 +03:00 committed by GitHub
parent dd57d62214
commit 5db107df10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,11 @@ RUN apt-get install -y nano
RUN curl https://deb.nodesource.com/node_6.x/pool/main/n/nodejs/nodejs_6.7.0-1nodesource1~xenial1_amd64.deb > node.deb \
&& dpkg -i node.deb \
&& rm node.deb
RUN apt-get install -y wkhtmltopdf
# wkhtmltopdf
RUN curl https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz >> wkhtml.tar.xz \
&& tar xf wkhtml.tar.xz \
&& mv wkhtmltox/bin/wk* /usr/local/bin/
USER frappe
WORKDIR /home/frappe