Skip to content

Commit

Permalink
Update base image from Buster to Bookworm
Browse files Browse the repository at this point in the history
wkhtmltopdf doesn't list a Bookworm download, but is listed under https://github.com/wkhtmltopdf/packaging/releases
  • Loading branch information
rjhenry committed Jun 20, 2023
1 parent 1f4a731 commit 1255e5b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Expand Up @@ -7,7 +7,7 @@ RUN set -x; \
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
&& rm bookstack.tar.gz

FROM php:8.2-apache-buster as final
FROM php:8.2-apache-bookworm as final
RUN set -x; \
apt-get update \
&& apt-get install -y --no-install-recommends \
Expand All @@ -27,10 +27,10 @@ RUN set -x; \
curl \
libzip-dev \
unzip \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb \
&& chmod a+x ./wkhtmltox_0.12.6-1.buster_amd64.deb \
&& apt-get install -y ./wkhtmltox_0.12.6-1.buster_amd64.deb \
&& rm ./wkhtmltox_0.12.6-1.buster_amd64.deb \
&& wget -O wkhtmltox.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb \
&& chmod a+x ./wkhtmltox.deb \
&& apt-get install -y ./wkhtmltox.deb \
&& rm ./wkhtmltox.deb \
&& docker-php-ext-install -j$(nproc) dom pdo pdo_mysql zip tidy \
&& docker-php-ext-configure ldap \
&& docker-php-ext-install -j$(nproc) ldap \
Expand Down

0 comments on commit 1255e5b

Please sign in to comment.