mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Fix wkhtmltodf and wp-cli installation
This commit is contained in:
@@ -273,6 +273,7 @@ RUN set -eux \
|
||||
dos2unix \
|
||||
file \
|
||||
fontconfig \
|
||||
less \
|
||||
libfontenc1 \
|
||||
libxfont2 \
|
||||
libxrender1 \
|
||||
@@ -568,8 +569,8 @@ RUN set -eux \
|
||||
&& OS_RELEASE="bullseye" \
|
||||
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
|
||||
&& WK_URL="$( \
|
||||
curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
|
||||
| awk -F\" "/wkhtmltopdf.*.${OS_RELEASE}_${DEB_HOST_ARCH}\.deb/{print \$(NF-1)}" \
|
||||
curl -sS -L --fail 'https://wkhtmltopdf.org/downloads.html' \
|
||||
| awk -F'"' "/wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\.deb/{print \$(NF-1)}" \
|
||||
| head -1 \
|
||||
)" \
|
||||
&& echo "URL: ${WK_URL}" \
|
||||
@@ -638,6 +639,7 @@ RUN set -eux \
|
||||
dos2unix \
|
||||
file \
|
||||
fontconfig \
|
||||
less \
|
||||
libfontenc1 \
|
||||
libxfont2 \
|
||||
libxrender1 \
|
||||
|
||||
Reference in New Issue
Block a user