File tree 17 files changed +92
-57
lines changed
17 files changed +92
-57
lines changed Original file line number Diff line number Diff line change @@ -623,12 +623,12 @@ 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 -k - 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}" \
631
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
631
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
632
632
&& dpkg -i /tmp/wkhtmltopdf.deb \
633
633
&& rm -f /tmp/wkhtmltopdf.deb \
634
634
run_dep :
@@ -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 4
4
## Unreleased
5
5
6
6
7
+ ## Release 0.147
8
+
9
+ ### Fixed
10
+ - Fixed wkhtmltopdf version finder during install
11
+ - Fixed wp-cli runtime requirements (needs ` less ` in order to function)
12
+
13
+
7
14
## Release 0.146
8
15
9
16
This release adds lots of documentation about recently added features.
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,12 +616,12 @@ 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 -k - 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}" \
623
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
625
&& dpkg -i /tmp/wkhtmltopdf.deb \
625
626
&& rm -f /tmp/wkhtmltopdf.deb \
626
627
\
@@ -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,12 +616,12 @@ 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 -k - 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}" \
623
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
625
&& dpkg -i /tmp/wkhtmltopdf.deb \
625
626
&& rm -f /tmp/wkhtmltopdf.deb \
626
627
\
@@ -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,12 +616,12 @@ 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 -k - 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}" \
623
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
625
&& dpkg -i /tmp/wkhtmltopdf.deb \
625
626
&& rm -f /tmp/wkhtmltopdf.deb \
626
627
\
@@ -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,12 +616,12 @@ 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 -k - 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}" \
623
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
625
&& dpkg -i /tmp/wkhtmltopdf.deb \
625
626
&& rm -f /tmp/wkhtmltopdf.deb \
626
627
\
@@ -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,12 +616,12 @@ 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 -k - 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}" \
623
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
625
&& dpkg -i /tmp/wkhtmltopdf.deb \
625
626
&& rm -f /tmp/wkhtmltopdf.deb \
626
627
\
@@ -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,12 +616,12 @@ 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 -k - 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}" \
623
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
625
&& dpkg -i /tmp/wkhtmltopdf.deb \
625
626
&& rm -f /tmp/wkhtmltopdf.deb \
626
627
\
@@ -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,12 +616,12 @@ 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 -k - 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}" \
623
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
625
&& dpkg -i /tmp/wkhtmltopdf.deb \
625
626
&& rm -f /tmp/wkhtmltopdf.deb \
626
627
\
@@ -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,12 +616,12 @@ 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 -k - 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}" \
623
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
624
625
&& dpkg -i /tmp/wkhtmltopdf.deb \
625
626
&& rm -f /tmp/wkhtmltopdf.deb \
626
627
\
@@ -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 \
@@ -568,12 +569,12 @@ RUN set -eux \
568
569
&& OS_RELEASE="bullseye" \
569
570
&& DEB_HOST_ARCH="$( dpkg-architecture --query DEB_HOST_ARCH )" \
570
571
&& WK_URL="$( \
571
- curl -sSL - L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases \
572
- | awk -F\" "/wkhtmltopdf.*. ${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
572
+ curl -sS -k - L --fail ' https://wkhtmltopdf.org/downloads.html ' \
573
+ | awk -F' "' " /wkhtmltopdf.*${OS_RELEASE}_${DEB_HOST_ARCH}\. deb/{print \$ (NF-1)}" \
573
574
| head -1 \
574
575
)" \
575
576
&& echo "URL: ${WK_URL}" \
576
- && curl -sS -L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
577
+ && curl -sS -k - L --fail -o /tmp/wkhtmltopdf.deb "${WK_URL}" \
577
578
&& dpkg -i /tmp/wkhtmltopdf.deb \
578
579
&& rm -f /tmp/wkhtmltopdf.deb \
579
580
\
@@ -638,6 +639,7 @@ RUN set -eux \
638
639
dos2unix \
639
640
file \
640
641
fontconfig \
642
+ less \
641
643
libfontenc1 \
642
644
libxfont2 \
643
645
libxrender1 \
You can’t perform that action at this time.
0 commit comments