Skip to content

Commit 40c2db6

Browse files
authored
Merge branch 'master' into bugfix/wkhtmltopdf
2 parents b7a52ff + b4bfb84 commit 40c2db6

File tree

12 files changed

+72
-48
lines changed

12 files changed

+72
-48
lines changed

Dockerfiles/work/Dockerfile-5.4

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,11 @@ fi \
347347
\
348348
\
349349
# -------------------- symfony --------------------
350-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
351-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
352-
&& chmod +x /usr/local/bin/symfony \
350+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
351+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
352+
&& dpkg -i /tmp/symfonycli.deb \
353+
&& rm -f /tmp/symfonycli.deb \
354+
\
353355
\
354356
# -------------------- wkhtmltopdf --------------------
355357
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/releases | awk -F\" '/wkhtmltopdf.*.jessie_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -755,7 +757,7 @@ fi \
755757
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
756758
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
757759
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
758-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
760+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
759761
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
760762
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
761763
\

Dockerfiles/work/Dockerfile-5.5

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,11 @@ fi \
353353
\
354354
\
355355
# -------------------- symfony --------------------
356-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
357-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
358-
&& chmod +x /usr/local/bin/symfony \
356+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
357+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
358+
&& dpkg -i /tmp/symfonycli.deb \
359+
&& rm -f /tmp/symfonycli.deb \
360+
\
359361
\
360362
# -------------------- wkhtmltopdf --------------------
361363
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/releases | awk -F\" '/wkhtmltopdf.*.jessie_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -770,7 +772,7 @@ fi \
770772
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
771773
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
772774
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
773-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
775+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
774776
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
775777
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
776778
\

Dockerfiles/work/Dockerfile-5.6

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,11 @@ fi \
373373
\
374374
\
375375
# -------------------- symfony --------------------
376-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
377-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
378-
&& chmod +x /usr/local/bin/symfony \
376+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
377+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
378+
&& dpkg -i /tmp/symfonycli.deb \
379+
&& rm -f /tmp/symfonycli.deb \
380+
\
379381
\
380382
# -------------------- wkhtmltopdf --------------------
381383
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases | awk -F\" '/wkhtmltopdf.*.stretch_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -788,7 +790,7 @@ fi \
788790
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
789791
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
790792
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
791-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
793+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
792794
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
793795
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
794796
\

Dockerfiles/work/Dockerfile-7.0

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,11 @@ fi \
354354
\
355355
\
356356
# -------------------- symfony --------------------
357-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
358-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
359-
&& chmod +x /usr/local/bin/symfony \
357+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
358+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
359+
&& dpkg -i /tmp/symfonycli.deb \
360+
&& rm -f /tmp/symfonycli.deb \
361+
\
360362
\
361363
# -------------------- wkhtmltopdf --------------------
362364
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases | awk -F\" '/wkhtmltopdf.*.stretch_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -767,7 +769,7 @@ fi \
767769
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
768770
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
769771
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
770-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
772+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
771773
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
772774
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
773775
\

Dockerfiles/work/Dockerfile-7.1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,11 @@ fi \
347347
\
348348
\
349349
# -------------------- symfony --------------------
350-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
351-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
352-
&& chmod +x /usr/local/bin/symfony \
350+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
351+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
352+
&& dpkg -i /tmp/symfonycli.deb \
353+
&& rm -f /tmp/symfonycli.deb \
354+
\
353355
\
354356
# -------------------- wkhtmltopdf --------------------
355357
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases | awk -F\" '/wkhtmltopdf.*.stretch_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -760,7 +762,7 @@ fi \
760762
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
761763
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
762764
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
763-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
765+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
764766
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
765767
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
766768
\

Dockerfiles/work/Dockerfile-7.2

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,11 @@ fi \
367367
\
368368
\
369369
# -------------------- symfony --------------------
370-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
371-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
372-
&& chmod +x /usr/local/bin/symfony \
370+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
371+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
372+
&& dpkg -i /tmp/symfonycli.deb \
373+
&& rm -f /tmp/symfonycli.deb \
374+
\
373375
\
374376
# -------------------- wkhtmltopdf --------------------
375377
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases | awk -F\" '/wkhtmltopdf.*.stretch_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -782,7 +784,7 @@ fi \
782784
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
783785
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
784786
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
785-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
787+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
786788
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
787789
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
788790
\

Dockerfiles/work/Dockerfile-7.3

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,11 @@ fi \
368368
\
369369
\
370370
# -------------------- symfony --------------------
371-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
372-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
373-
&& chmod +x /usr/local/bin/symfony \
371+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
372+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
373+
&& dpkg -i /tmp/symfonycli.deb \
374+
&& rm -f /tmp/symfonycli.deb \
375+
\
374376
\
375377
# -------------------- wkhtmltopdf --------------------
376378
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases | awk -F\" '/wkhtmltopdf.*.stretch_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -783,7 +785,7 @@ fi \
783785
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
784786
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
785787
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
786-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
788+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
787789
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
788790
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
789791
\

Dockerfiles/work/Dockerfile-7.4

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,11 @@ fi \
368368
\
369369
\
370370
# -------------------- symfony --------------------
371-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
372-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
373-
&& chmod +x /usr/local/bin/symfony \
371+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
372+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
373+
&& dpkg -i /tmp/symfonycli.deb \
374+
&& rm -f /tmp/symfonycli.deb \
375+
\
374376
\
375377
# -------------------- wkhtmltopdf --------------------
376378
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases | awk -F\" '/wkhtmltopdf.*.stretch_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -783,7 +785,7 @@ fi \
783785
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
784786
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
785787
&& phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' \
786-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
788+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
787789
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
788790
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
789791
\

Dockerfiles/work/Dockerfile-8.0

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,11 @@ fi \
302302
\
303303
\
304304
# -------------------- symfony --------------------
305-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
306-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
307-
&& chmod +x /usr/local/bin/symfony \
305+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
306+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
307+
&& dpkg -i /tmp/symfonycli.deb \
308+
&& rm -f /tmp/symfonycli.deb \
309+
\
308310
\
309311
# -------------------- wkhtmltopdf --------------------
310312
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases | awk -F\" '/wkhtmltopdf.*.stretch_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -696,7 +698,7 @@ fi \
696698
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
697699
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
698700
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
699-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
701+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
700702
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
701703
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
702704
\

Dockerfiles/work/Dockerfile-8.1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,11 @@ fi \
302302
\
303303
\
304304
# -------------------- symfony --------------------
305-
&& SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )" \
306-
&& curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_$(dpkg-architecture --query DEB_HOST_ARCH)" > /usr/local/bin/symfony \
307-
&& chmod +x /usr/local/bin/symfony \
305+
&& VERSION="$(curl -s https://api.github.com/repos/symfony-cli/symfony-cli/releases/latest | awk -F\" '/symfony-cli_.*._amd64\.deb/{print $(NF-1)}' | head -1 | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')" \
306+
&& curl -sS -L --fail -o /tmp/symfonycli.deb https://github.com/symfony-cli/symfony-cli/releases/download/v${VERSION}/symfony-cli_${VERSION}_$(dpkg-architecture --query DEB_HOST_ARCH).deb \
307+
&& dpkg -i /tmp/symfonycli.deb \
308+
&& rm -f /tmp/symfonycli.deb \
309+
\
308310
\
309311
# -------------------- wkhtmltopdf --------------------
310312
&& VERSION="$(curl -sSL -L --fail https://api.github.com/repos/wkhtmltopdf/packaging/releases | awk -F\" '/wkhtmltopdf.*.stretch_amd64\.deb/{print $(NF-1)}' | head -1 )" \
@@ -696,7 +698,7 @@ fi \
696698
&& phpcbf --version | grep -E 'version [0-9][.0-9]+' \
697699
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
698700
&& phpmd --version | grep -E '^PHPMD [0-9][.0-9]+' \
699-
&& symfony -V | grep -Ei 'version\s*.*v[0-9][.0-9]+' \
701+
&& symfony -V | grep -Ei 'version\s[0-9][.0-9]+' \
700702
&& if [ "$(dpkg-architecture --query DEB_HOST_ARCH)" = "amd64" ]; then wkhtmltopdf --version | grep -E "^wkhtmltopdf [0-9][.0-9]+\s+\(.+patched.+\)"; fi \
701703
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' \
702704
\

0 commit comments

Comments
 (0)