Skip to content

Commit

Permalink
[FIX] Update wkhtmltopdf to a bookworm compatible version
Browse files Browse the repository at this point in the history
  • Loading branch information
josep-tecnativa committed Nov 15, 2023
1 parent 3e4a1ee commit 4ce31de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 17.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.10-slim-bookworm AS base
EXPOSE 8069 8072

ARG GEOIP_UPDATER_VERSION=4.3.0
ARG WKHTMLTOPDF_VERSION=0.12.5
ARG WKHTMLTOPDF_VERSION=0.12.6.1
ARG WKHTMLTOPDF_CHECKSUM='dfab5506104447eef2530d1adb9840ee3a67f30caaad5e9bcb8743ef2f9421bd'
ENV DB_FILTER=.* \
DEPTH_DEFAULT=1 \
Expand Down Expand Up @@ -36,7 +36,7 @@ ENV DB_FILTER=.* \
RUN apt-get -qq update \
&& apt-get install -yqq --no-install-recommends \
curl \
&& curl -SLo wkhtmltox.deb https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/${WKHTMLTOPDF_VERSION}/wkhtmltox_${WKHTMLTOPDF_VERSION}-1.buster_amd64.deb \
&& curl -SLo https://github.com/wkhtmltopdf/packaging/releases/download/${WKHTMLTOPDF_VERSION}-3/wkhtmltox_${WKHTMLTOPDF_VERSION}-3.bookworm_amd64.deb \
&& echo "${WKHTMLTOPDF_CHECKSUM} wkhtmltox.deb" | sha256sum -c - \
&& apt-get install -yqq --no-install-recommends \
./wkhtmltox.deb \
Expand Down

0 comments on commit 4ce31de

Please sign in to comment.