mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Ignore expired certs during version check
This commit is contained in:
@@ -616,12 +616,12 @@ RUN set -eux \
|
||||
&& OS_RELEASE="buster" \
|
||||
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
|
||||
&& WK_URL="$( \
|
||||
curl -sS -L --fail 'https://wkhtmltopdf.org/downloads.html' \
|
||||
curl -sS -k -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}" \
|
||||
&& curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
|
||||
&& curl -sS -k -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
|
||||
&& dpkg -i /tmp/wkhtmltopdf.deb \
|
||||
&& rm -f /tmp/wkhtmltopdf.deb \
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user