Skip to content

Commit 5b00554

Browse files
committed
Update base image from Buster to Bullseye
Bookworm does not yet have a wkhtmltopdf build available.
1 parent 2abde2f commit 5b00554

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN set -x; \
77
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
88
&& rm bookstack.tar.gz
99

10-
FROM php:8.2-apache-buster as final
10+
FROM php:8.2-apache-bullseye as final
1111
RUN set -x; \
1212
apt-get update \
1313
&& apt-get install -y --no-install-recommends \
@@ -27,10 +27,10 @@ RUN set -x; \
2727
curl \
2828
libzip-dev \
2929
unzip \
30-
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb \
31-
&& chmod a+x ./wkhtmltox_0.12.6-1.buster_amd64.deb \
32-
&& apt-get install -y ./wkhtmltox_0.12.6-1.buster_amd64.deb \
33-
&& rm ./wkhtmltox_0.12.6-1.buster_amd64.deb \
30+
&& wget -O wkhtmltox.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_amd64.deb \
31+
&& chmod a+x ./wkhtmltox.deb \
32+
&& apt-get install -y ./wkhtmltox.deb \
33+
&& rm ./wkhtmltox.deb \
3434
&& docker-php-ext-install -j$(nproc) dom pdo pdo_mysql zip tidy \
3535
&& docker-php-ext-configure ldap \
3636
&& docker-php-ext-install -j$(nproc) ldap \

0 commit comments

Comments
 (0)