Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wkhtmltopdf #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ FROM debian:jessie

MAINTAINER Genar Trias <[email protected]>

RUN apt-get clean && \
apt-get update && \
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
gdebi \
Expand All @@ -12,9 +11,9 @@ RUN apt-get clean && \

WORKDIR /tmp

RUN wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-amd64.deb && \
gdebi --n wkhtmltox-0.12.2.1_linux-jessie-amd64.deb && \
rm wkhtmltox-0.12.2.1_linux-jessie-amd64.deb
RUN wget --no-check-certificate https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.jessie_amd64.deb && \
gdebi --n wkhtmltox_0.12.5-1.jessie_amd64.deb && \
rm wkhtmltox_0.12.5-1.jessie_amd64.deb

RUN ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
RUN ln -s /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
Expand Down