Skip to content

Commit 98e6bfd

Browse files
author
Genar Trias Ortiz
committed
FROM python:alpine, refs #6
1 parent 772365e commit 98e6bfd

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

Dockerfile

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1-
FROM debian:jessie
1+
FROM python:alpine
22

33
MAINTAINER Genar Trias <[email protected]>
44

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
5+
RUN apk add --update --no-cache wkhtmltopdf --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
6+
--allow-untrusted
207

218
WORKDIR /
229

0 commit comments

Comments
 (0)