We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 772365e commit 98e6bfdCopy full SHA for 98e6bfd
Dockerfile
@@ -1,22 +1,9 @@
1
-FROM debian:jessie
+FROM python:alpine
2
3
MAINTAINER Genar Trias <[email protected]>
4
5
-RUN apt-get update && \
6
- apt-get upgrade -y && \
7
- apt-get install -y \
8
- gdebi \
9
- wget \
10
- python-pip
11
-
12
-WORKDIR /tmp
13
14
-RUN wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-amd64.deb && \
15
- gdebi --n wkhtmltox-0.12.2.1_linux-jessie-amd64.deb && \
16
- rm wkhtmltox-0.12.2.1_linux-jessie-amd64.deb
17
18
-RUN ln -s /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
19
-RUN ln -s /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
+RUN apk add --update --no-cache wkhtmltopdf --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
+ --allow-untrusted
20
21
WORKDIR /
22
0 commit comments