Use Debian Bullseye and remove wkhtmltopdf
This commit is contained in:
parent
81cefc092b
commit
8a56f9884c
2 changed files with 2 additions and 12 deletions
|
@ -7,7 +7,7 @@ RUN set -x; \
|
|||
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
|
||||
&& rm bookstack.tar.gz
|
||||
|
||||
FROM php:8.3-apache-buster as final
|
||||
FROM php:8.3-apache-bullseye as final
|
||||
RUN set -x; \
|
||||
apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
|
@ -27,11 +27,6 @@ RUN set -x; \
|
|||
curl \
|
||||
libzip-dev \
|
||||
unzip \
|
||||
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
|
||||
&& wget "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_${arch}.deb" \
|
||||
&& chmod a+x "./wkhtmltox_0.12.6-1.buster_${arch}.deb" \
|
||||
&& apt-get install -y "./wkhtmltox_0.12.6-1.buster_${arch}.deb" \
|
||||
&& rm "./wkhtmltox_0.12.6-1.buster_${arch}.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 \
|
||||
|
|
|
@ -7,7 +7,7 @@ RUN set -x; \
|
|||
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
|
||||
&& rm bookstack.tar.gz
|
||||
|
||||
FROM php:8.3-apache-buster as final
|
||||
FROM php:8.3-apache-bullseye as final
|
||||
RUN set -x; \
|
||||
apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
|
@ -27,11 +27,6 @@ RUN set -x; \
|
|||
curl \
|
||||
libzip-dev \
|
||||
unzip \
|
||||
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
|
||||
&& wget "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_${arch}.deb" \
|
||||
&& chmod a+x "./wkhtmltox_0.12.6-1.buster_${arch}.deb" \
|
||||
&& apt-get install -y "./wkhtmltox_0.12.6-1.buster_${arch}.deb" \
|
||||
&& rm "./wkhtmltox_0.12.6-1.buster_${arch}.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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue