Ignore expired certs during version check

This commit is contained in:
dvlbot
2022-12-14 18:50:57 +01:00
parent fada51d70e
commit 5613a40247
11 changed files with 22 additions and 22 deletions

View File

@@ -569,12 +569,12 @@ RUN set -eux \
&& OS_RELEASE="bullseye" \
&& 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 \
\