From 14178fd6d1e81b0b01f9991e86ab61e77e4406ca Mon Sep 17 00:00:00 2001 From: Fabian Beuke Date: Tue, 23 Aug 2016 14:53:06 +0200 Subject: [PATCH] update and optimize Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f1ae094..b7432c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM ubuntu:14.04 +FROM ubuntu:16.04 WORKDIR /tmp RUN apt-get update && \ - apt-get install -y --no-install-recommends wget fontconfig libfontconfig1 libfreetype6 libjpeg-turbo8 libx11-6 libxext6 libxrender1 xfonts-base xfonts-75dpi && \ + apt-get install -y --no-install-recommends wget fontconfig libfontconfig1 libfreetype6 libjpeg-turbo8 libx11-6 libxext6 libxrender1 xfonts-base xfonts-75dpi && \ wget -q http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb && \ dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb && \ + rm /usr/local/bin/wkhtmltoimage && \ apt-get purge -y wget && \ apt-get autoremove -y && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* - WORKDIR / ENTRYPOINT ["wkhtmltopdf"]