Skip to content

Commit df41032

Browse files
committed
Initial version - migrated from java8-wkhtmltopdf
0 parents  commit df41032

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Dockerfile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM openjdk:8-slim
2+
3+
# Download and install wkhtmltopdf
4+
RUN apt-get update \
5+
&& apt-get install -y \
6+
curl \
7+
xfonts-base \
8+
xfonts-75dpi \
9+
fontconfig \
10+
libxext6 \
11+
libjpeg62-turbo\
12+
libx11-6 \
13+
libxrender1 \
14+
&& apt-get clean
15+
16+
RUN curl "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_amd64.deb" -L -o "wkhtmltopdf.deb" \
17+
&& dpkg -i ./wkhtmltopdf.deb \
18+
&& apt-get install -f \
19+
&& rm -rf wkhtmlto*

0 commit comments

Comments
 (0)