Skip to content
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 <genar@cirici.com>

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