Skip to content

Commit

Permalink
CPT-1 Install wkhtmltopdf packaged by original maintainers
Browse files Browse the repository at this point in the history
  • Loading branch information
borna-ng committed May 28, 2024
1 parent 39ddba1 commit bfbf238
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,16 @@ RUN apt-get update -qq \
&& apt-get install -y --no-install-recommends python3 python3-pip python3-dev libjpeg-dev libsasl2-dev libxslt-dev libxml2-dev ca-certificates tzdata \
curl file xfonts-75dpi xfonts-base unzip build-essential fontconfig libfontconfig1 libpng16-16 \
libldap2-dev libssl-dev poppler-utils fonts-dejavu cabextract libfreetype6 git libffi-dev libc6 \
libstdc++6 lib32z1 libpoppler-cpp-dev pkg-config librdkafka-dev python3-cairocffi node-less libpq-dev wkhtmltopdf \
libstdc++6 lib32z1 libpoppler-cpp-dev pkg-config librdkafka-dev python3-cairocffi node-less libpq-dev \
libbz2-dev libreadline-dev libsqlite3-dev liblzma-dev \
&& rm -rf /var/lib/apt/lists/*

# wkhtmltopdf
RUN curl -sL -o /tmp/wkhtmltox.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb \
&& echo '800eb1c699d07238fee77bf9df1556964f00ffcf /tmp/wkhtmltox.deb' | sha1sum -c - \
&& apt-get install -y --no-install-recommends /tmp/wkhtmltox.deb \
&& rm -rf /tmp/wkhtmltox.deb

# ghostscript
COPY docker/ghostscript_cmap_copyfix.diff /tmp/ghostscript_cmap_copyfix.diff
RUN GHOSTSCRIPT_VERSION=10020 \
Expand Down

0 comments on commit bfbf238

Please sign in to comment.