File tree Expand file tree Collapse file tree 15 files changed +52
-24
lines changed Expand file tree Collapse file tree 15 files changed +52
-24
lines changed Original file line number Diff line number Diff line change @@ -623,8 +623,8 @@ tools_available:
623
623
command : |
624
624
DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
625
625
&& WK_URL="$( \
626
- curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
627
- | awk -F\" "/wkhtmltopdf.*. ${OS_RELEASE}_${DEB_HOST_ARCH}\.deb/{print \$(NF-1)}" \
626
+ curl -sS -L --fail ' https://wkhtmltopdf.org/downloads.html' \
627
+ | awk -F'"' "/wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\.deb/{print \$(NF-1)}" \
628
628
| head -1 \
629
629
)" \
630
630
&& echo "URL: ${WK_URL}" \
@@ -677,7 +677,9 @@ tools_available:
677
677
type : custom
678
678
command : curl -sS -L --fail "${WPCLI_URL}" -L -o /usr/local/bin/wp
679
679
build_dep : []
680
- run_dep : []
680
+ # Fixes: sh: 1: less: not found during 'wp help'
681
+ # It internally pipes it to less.
682
+ run_dep : [less]
681
683
pre : WPCLI_URL="https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar"
682
684
post : chmod +x /usr/local/bin/wp
683
685
5.5 :
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ RUN set -eux \
270
270
# ---------- run_deps ----------
271
271
dos2unix \
272
272
file \
273
+ less \
273
274
moreutils \
274
275
ruby \
275
276
# ---------- type: apt ----------
@@ -581,6 +582,7 @@ RUN set -eux \
581
582
# ---------- run_deps ----------
582
583
dos2unix \
583
584
file \
585
+ less \
584
586
moreutils \
585
587
ruby \
586
588
# ---------- type: apt ----------
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ RUN set -eux \
270
270
# ---------- run_deps ----------
271
271
dos2unix \
272
272
file \
273
+ less \
273
274
moreutils \
274
275
ruby \
275
276
# ---------- type: apt ----------
@@ -604,6 +605,7 @@ RUN set -eux \
604
605
# ---------- run_deps ----------
605
606
dos2unix \
606
607
file \
608
+ less \
607
609
moreutils \
608
610
ruby \
609
611
# ---------- type: apt ----------
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ RUN set -eux \
270
270
# ---------- run_deps ----------
271
271
dos2unix \
272
272
file \
273
+ less \
273
274
moreutils \
274
275
ruby \
275
276
# ---------- type: apt ----------
@@ -659,6 +660,7 @@ RUN set -eux \
659
660
# ---------- run_deps ----------
660
661
dos2unix \
661
662
file \
663
+ less \
662
664
moreutils \
663
665
ruby \
664
666
# ---------- type: apt ----------
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ RUN set -eux \
271
271
dos2unix \
272
272
file \
273
273
fontconfig \
274
+ less \
274
275
libfontenc1 \
275
276
libxfont1 \
276
277
libxrender1 \
@@ -615,8 +616,8 @@ RUN set -eux \
615
616
&& OS_RELEASE="stretch" \
616
617
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
617
618
&& WK_URL="$( \
618
- curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
619
- | awk -F\" "/wkhtmltopdf.*. ${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
619
+ curl -sS -L --fail ' https://wkhtmltopdf.org/downloads.html ' \
620
+ | awk -F' "' " /wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
620
621
| head -1 \
621
622
)" \
622
623
&& echo "URL: ${WK_URL}" \
@@ -685,6 +686,7 @@ RUN set -eux \
685
686
dos2unix \
686
687
file \
687
688
fontconfig \
689
+ less \
688
690
libfontenc1 \
689
691
libxfont1 \
690
692
libxrender1 \
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ RUN set -eux \
271
271
dos2unix \
272
272
file \
273
273
fontconfig \
274
+ less \
274
275
libfontenc1 \
275
276
libxfont1 \
276
277
libxrender1 \
@@ -615,8 +616,8 @@ RUN set -eux \
615
616
&& OS_RELEASE="stretch" \
616
617
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
617
618
&& WK_URL="$( \
618
- curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
619
- | awk -F\" "/wkhtmltopdf.*. ${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
619
+ curl -sS -L --fail ' https://wkhtmltopdf.org/downloads.html ' \
620
+ | awk -F' "' " /wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
620
621
| head -1 \
621
622
)" \
622
623
&& echo "URL: ${WK_URL}" \
@@ -685,6 +686,7 @@ RUN set -eux \
685
686
dos2unix \
686
687
file \
687
688
fontconfig \
689
+ less \
688
690
libfontenc1 \
689
691
libxfont1 \
690
692
libxrender1 \
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ RUN set -eux \
271
271
dos2unix \
272
272
file \
273
273
fontconfig \
274
+ less \
274
275
libfontenc1 \
275
276
libxfont2 \
276
277
libxrender1 \
@@ -615,8 +616,8 @@ RUN set -eux \
615
616
&& OS_RELEASE="buster" \
616
617
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
617
618
&& WK_URL="$( \
618
- curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
619
- | awk -F\" "/wkhtmltopdf.*. ${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
619
+ curl -sS -L --fail ' https://wkhtmltopdf.org/downloads.html ' \
620
+ | awk -F' "' " /wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
620
621
| head -1 \
621
622
)" \
622
623
&& echo "URL: ${WK_URL}" \
@@ -685,6 +686,7 @@ RUN set -eux \
685
686
dos2unix \
686
687
file \
687
688
fontconfig \
689
+ less \
688
690
libfontenc1 \
689
691
libxfont2 \
690
692
libxrender1 \
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ RUN set -eux \
271
271
dos2unix \
272
272
file \
273
273
fontconfig \
274
+ less \
274
275
libfontenc1 \
275
276
libxfont2 \
276
277
libxrender1 \
@@ -615,8 +616,8 @@ RUN set -eux \
615
616
&& OS_RELEASE="buster" \
616
617
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
617
618
&& WK_URL="$( \
618
- curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
619
- | awk -F\" "/wkhtmltopdf.*. ${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
619
+ curl -sS -L --fail ' https://wkhtmltopdf.org/downloads.html ' \
620
+ | awk -F' "' " /wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
620
621
| head -1 \
621
622
)" \
622
623
&& echo "URL: ${WK_URL}" \
@@ -685,6 +686,7 @@ RUN set -eux \
685
686
dos2unix \
686
687
file \
687
688
fontconfig \
689
+ less \
688
690
libfontenc1 \
689
691
libxfont2 \
690
692
libxrender1 \
Original file line number Diff line number Diff line change @@ -273,6 +273,7 @@ RUN set -eux \
273
273
dos2unix \
274
274
file \
275
275
fontconfig \
276
+ less \
276
277
libfontenc1 \
277
278
libxfont2 \
278
279
libxrender1 \
@@ -615,8 +616,8 @@ RUN set -eux \
615
616
&& OS_RELEASE="bullseye" \
616
617
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
617
618
&& WK_URL="$( \
618
- curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
619
- | awk -F\" "/wkhtmltopdf.*. ${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
619
+ curl -sS -L --fail ' https://wkhtmltopdf.org/downloads.html ' \
620
+ | awk -F' "' " /wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
620
621
| head -1 \
621
622
)" \
622
623
&& echo "URL: ${WK_URL}" \
@@ -685,6 +686,7 @@ RUN set -eux \
685
686
dos2unix \
686
687
file \
687
688
fontconfig \
689
+ less \
688
690
libfontenc1 \
689
691
libxfont2 \
690
692
libxrender1 \
Original file line number Diff line number Diff line change @@ -273,6 +273,7 @@ RUN set -eux \
273
273
dos2unix \
274
274
file \
275
275
fontconfig \
276
+ less \
276
277
libfontenc1 \
277
278
libxfont2 \
278
279
libxrender1 \
@@ -615,8 +616,8 @@ RUN set -eux \
615
616
&& OS_RELEASE="bullseye" \
616
617
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
617
618
&& WK_URL="$( \
618
- curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
619
- | awk -F\" "/wkhtmltopdf.*. ${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
619
+ curl -sS -L --fail ' https://wkhtmltopdf.org/downloads.html ' \
620
+ | awk -F' "' " /wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
620
621
| head -1 \
621
622
)" \
622
623
&& echo "URL: ${WK_URL}" \
@@ -685,6 +686,7 @@ RUN set -eux \
685
686
dos2unix \
686
687
file \
687
688
fontconfig \
689
+ less \
688
690
libfontenc1 \
689
691
libxfont2 \
690
692
libxrender1 \
You can’t perform that action at this time.
0 commit comments