mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-21 16:31:15 +00:00
Use latest Symfony version
This commit is contained in:
@@ -304,7 +304,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -546,7 +547,7 @@ RUN set -eux \
|
|||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -309,7 +309,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -564,7 +565,7 @@ RUN set -eux \
|
|||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -322,7 +322,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -578,7 +579,7 @@ RUN set -eux \
|
|||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -322,7 +322,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -578,7 +579,7 @@ RUN set -eux \
|
|||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -322,7 +322,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -578,7 +579,7 @@ RUN set -eux \
|
|||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -323,7 +323,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -579,7 +580,7 @@ RUN set -eux \
|
|||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -309,7 +309,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -564,7 +565,7 @@ RUN set -eux \
|
|||||||
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
&& php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -304,7 +304,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -558,7 +559,7 @@ RUN set -eux \
|
|||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -242,7 +242,8 @@ RUN set -eux \
|
|||||||
\
|
\
|
||||||
\
|
\
|
||||||
# -------------------- symfony --------------------
|
# -------------------- symfony --------------------
|
||||||
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
|
&& SYMFONY_VERSION="$( curl --fail -sS -L https://get.symfony.com/cli/LATEST )" \
|
||||||
|
&& curl -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony \
|
||||||
&& chmod +x /usr/local/bin/symfony \
|
&& chmod +x /usr/local/bin/symfony \
|
||||||
\
|
\
|
||||||
# -------------------- wkhtmltopdf --------------------
|
# -------------------- wkhtmltopdf --------------------
|
||||||
@@ -471,7 +472,7 @@ RUN set -eux \
|
|||||||
&& phpcs --version | grep -E 'version [.0-9]+' \
|
&& phpcs --version | grep -E 'version [.0-9]+' \
|
||||||
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
&& phpcbf --version | grep -E 'version [.0-9]+' \
|
||||||
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
&& phpmd --version | grep -E '^PHPMD [.0-9]+' \
|
||||||
&& symfony --version | grep -E 'version\s*[.0-9]+' \
|
&& symfony -V | grep -Ei 'version\s*.*v[.0-9]+' \
|
||||||
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
&& wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)" \
|
||||||
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
&& wp --allow-root --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -771,7 +771,8 @@ software_available:
|
|||||||
disabled: [5.2, 5.3]
|
disabled: [5.2, 5.3]
|
||||||
check: symfony --version | grep -E 'version\s*[.0-9]+'
|
check: symfony --version | grep -E 'version\s*[.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: curl https://symfony.com/installer -L -o /usr/local/bin/symfony
|
pre: SYMFONY_VERSION="$( curl -sS -L --fail https://get.symfony.com/cli/LATEST )"
|
||||||
|
command: curl -sS -L --fail "https://github.com/symfony/cli/releases/download/v${SYMFONY_VERSION}/symfony_linux_386" > /usr/local/bin/symfony
|
||||||
post: chmod +x /usr/local/bin/symfony
|
post: chmod +x /usr/local/bin/symfony
|
||||||
wkhtmltopdf:
|
wkhtmltopdf:
|
||||||
check: wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)"
|
check: wkhtmltopdf --version | grep -E "^wkhtmltopdf [.0-9]+\s+\(.+patched.+\)"
|
||||||
|
|||||||
Reference in New Issue
Block a user