diff --git a/.ansible/group_vars/all/slim.yml b/.ansible/group_vars/all/slim.yml index 8279346..c4aa9aa 100644 --- a/.ansible/group_vars/all/slim.yml +++ b/.ansible/group_vars/all/slim.yml @@ -77,6 +77,7 @@ base_software_enabled: - dig # required by Devilbox Intranet - netcat # required by Devilbox Intranet - ping # required by Devilbox Intranet + - sudo # required by /etc/sudoers.d/devilbox config file - blackfire - mhsendmail - mongo_client @@ -283,6 +284,15 @@ base_software_available: type: apt package: iputils-ping + ### + ### sudo + ### + sudo: + check: sudo --version | grep -E 'version [0-9]+\.[0-9]+' + all: + type: apt + package: sudo + ### ### Blackfire ### diff --git a/.ansible/group_vars/all/work.yml b/.ansible/group_vars/all/work.yml index e5e2147..627c70d 100644 --- a/.ansible/group_vars/all/work.yml +++ b/.ansible/group_vars/all/work.yml @@ -18,9 +18,11 @@ tools_enabled: - gulp - jq - laravel-installer + - laravel-lumen - linkcheck - - lumen - mdlint + - mupdf-tools + - phalcon-devtools - php-cs-fixer - phpcbf - phpcs @@ -28,15 +30,20 @@ tools_enabled: - phpunit - pm2 - pwncat + - ssh + - rsync - sass - shellcheck - stylelint + - svn - symfony-cli + - tig - vue-cli - webpack-cli - wp-cli - yamllint - yq + - zsh # The following specifies how tools are being installed. @@ -242,7 +249,7 @@ tools_available: package: jq laravel-installer: disabled: [5.2, 5.3] - check: laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) + check: laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) all: type: composer composer: 2 @@ -275,18 +282,9 @@ tools_available: type: composer binary: laravel version: 1.3.7 - linkcheck: - disabled: [] - check: linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) - all: - type: custom - command: curl -sS -L --fail -o /usr/local/bin/linkcheck https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck - post: chmod +x /usr/local/bin/linkcheck - build_dep: [] - run_dep: [] - lumen: + laravel-lumen: disabled: [5.2, 5.3, 5.4] - check: lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) + check: lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) all: type: composer composer: 2 @@ -298,6 +296,15 @@ tools_available: run_dep: [] # pre: # post: + linkcheck: + disabled: [] + check: linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) + all: + type: custom + command: curl -sS -L --fail -o /usr/local/bin/linkcheck https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck + post: chmod +x /usr/local/bin/linkcheck + build_dep: [] + run_dep: [] mdlint: disabled: [] check: mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) @@ -310,8 +317,72 @@ tools_available: run_dep: [] pre: post: + mupdf-tools: + disabled: [] + check: | + echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + all: + type: apt + package: mupdf-tools + phalcon-devtools: + disabled: [5.2, 5.3, 5.4, 8.2] + check: | + if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + all: + type: composer + composer: 2 + package: phalcon/devtools + binary: phalcon + # Enable phalcon.so (and its requirement psr prior installing) + pre: | + if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + # Disable phalcon.so (and its requirement psr after installing) + post: | + if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + 7.1: + type: composer + version: 3.4.11 + 7.0: + type: composer + version: 3.4.11 + 5.6: + type: composer + version: 3.4.11 + 5.5: + type: composer + version: 3.4.11 php-cs-fixer: - disabled: [5.2] + disabled: [5.2, 8.2] check: php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) all: type: custom @@ -437,6 +508,18 @@ tools_available: pre: post: | ln -s pwncat /usr/local/bin/netcat \ + ssh: + disabled: [] + check: ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) + all: + type: apt + package: openssh-client + rsync: + disabled: [] + check: rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) + all: + type: apt + package: rsync sass: disabled: [] check: sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) @@ -467,6 +550,12 @@ tools_available: run_dep: [] pre: post: + svn: + disabled: [] + check: svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) + all: + type: apt + package: subversion symfony-cli: disabled: [] check: symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) @@ -475,6 +564,12 @@ tools_available: command: curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin build_dep: [] run_dep: [] + tig: + disabled: [] + check: tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) + all: + type: apt + package: tig vue-cli: disabled: [] check: vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) @@ -538,3 +633,9 @@ tools_available: run_dep: [] pre: post: + zsh: + disabled: [] + check: zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) + all: + type: apt + package: zsh diff --git a/Dockerfiles/slim/Dockerfile-5.2 b/Dockerfiles/slim/Dockerfile-5.2 index 2b5c48a..e6c8a75 100644 --- a/Dockerfiles/slim/Dockerfile-5.2 +++ b/Dockerfiles/slim/Dockerfile-5.2 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -304,6 +310,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -467,6 +474,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-5.3 b/Dockerfiles/slim/Dockerfile-5.3 index 3cb58e7..e54a8b0 100644 --- a/Dockerfiles/slim/Dockerfile-5.3 +++ b/Dockerfiles/slim/Dockerfile-5.3 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -304,6 +310,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -467,6 +474,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-5.4 b/Dockerfiles/slim/Dockerfile-5.4 index bd54f4d..7bd66bc 100644 --- a/Dockerfiles/slim/Dockerfile-5.4 +++ b/Dockerfiles/slim/Dockerfile-5.4 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -304,6 +310,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -467,6 +474,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-5.5 b/Dockerfiles/slim/Dockerfile-5.5 index 8de2060..366828b 100644 --- a/Dockerfiles/slim/Dockerfile-5.5 +++ b/Dockerfiles/slim/Dockerfile-5.5 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -304,6 +310,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -467,6 +474,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-5.6 b/Dockerfiles/slim/Dockerfile-5.6 index 51bf973..aa16bde 100644 --- a/Dockerfiles/slim/Dockerfile-5.6 +++ b/Dockerfiles/slim/Dockerfile-5.6 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -308,6 +314,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -471,6 +478,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-7.0 b/Dockerfiles/slim/Dockerfile-7.0 index 703d19c..f0ac024 100644 --- a/Dockerfiles/slim/Dockerfile-7.0 +++ b/Dockerfiles/slim/Dockerfile-7.0 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -308,6 +314,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -471,6 +478,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-7.1 b/Dockerfiles/slim/Dockerfile-7.1 index 4f3b340..17c71d3 100644 --- a/Dockerfiles/slim/Dockerfile-7.1 +++ b/Dockerfiles/slim/Dockerfile-7.1 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -302,6 +308,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -465,6 +472,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-7.2 b/Dockerfiles/slim/Dockerfile-7.2 index 5ae5160..fd89cd7 100644 --- a/Dockerfiles/slim/Dockerfile-7.2 +++ b/Dockerfiles/slim/Dockerfile-7.2 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -302,6 +308,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -465,6 +472,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-7.3 b/Dockerfiles/slim/Dockerfile-7.3 index dde2a20..3251e60 100644 --- a/Dockerfiles/slim/Dockerfile-7.3 +++ b/Dockerfiles/slim/Dockerfile-7.3 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -302,6 +308,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -465,6 +472,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-7.4 b/Dockerfiles/slim/Dockerfile-7.4 index 02c7106..c0e864a 100644 --- a/Dockerfiles/slim/Dockerfile-7.4 +++ b/Dockerfiles/slim/Dockerfile-7.4 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -302,6 +308,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -465,6 +472,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-8.0 b/Dockerfiles/slim/Dockerfile-8.0 index 479429e..8ffc42c 100644 --- a/Dockerfiles/slim/Dockerfile-8.0 +++ b/Dockerfiles/slim/Dockerfile-8.0 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -302,6 +308,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -465,6 +472,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-8.1 b/Dockerfiles/slim/Dockerfile-8.1 index 8498d57..0f8addc 100644 --- a/Dockerfiles/slim/Dockerfile-8.1 +++ b/Dockerfiles/slim/Dockerfile-8.1 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -302,6 +308,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -465,6 +472,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/slim/Dockerfile-8.2 b/Dockerfiles/slim/Dockerfile-8.2 index 96ea6ea..b91e6da 100644 --- a/Dockerfiles/slim/Dockerfile-8.2 +++ b/Dockerfiles/slim/Dockerfile-8.2 @@ -66,6 +66,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -87,6 +88,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && apt-get update \ @@ -302,6 +308,7 @@ RUN set -eux \ dnsutils \ iputils-ping \ netcat-openbsd \ + sudo \ && rm -rf /var/lib/apt/lists/* ### @@ -465,6 +472,11 @@ RUN set -eux \ && ping -V | grep ^ping \ && true +# -------------------- sudo -------------------- +RUN set -eux \ + && sudo --version | grep -E 'version [0-9]+\.[0-9]+' \ + && true + # -------------------- blackfire -------------------- RUN set -eux \ && blackfire version \ diff --git a/Dockerfiles/work/Dockerfile-5.2 b/Dockerfiles/work/Dockerfile-5.2 index 9e9873c..6e188de 100644 --- a/Dockerfiles/work/Dockerfile-5.2 +++ b/Dockerfiles/work/Dockerfile-5.2 @@ -237,7 +237,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -334,6 +340,16 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + # -------------------- (custom) phpcbf -------------------- RUN set -eux \ && PHPCBF_URL="https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcbf.phar" \ @@ -365,6 +381,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -384,12 +410,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -416,6 +452,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -453,7 +494,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -560,6 +607,16 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + # -------------------- (custom) phpcbf -------------------- RUN set -eux \ && phpcbf --version | grep -E 'version [0-9][.0-9]+' || (phpcbf --version; false) \ @@ -580,6 +637,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -595,11 +662,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -620,6 +697,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-5.3 b/Dockerfiles/work/Dockerfile-5.3 index 0712ba8..78bfa5d 100644 --- a/Dockerfiles/work/Dockerfile-5.3 +++ b/Dockerfiles/work/Dockerfile-5.3 @@ -271,7 +271,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -368,6 +374,16 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.2.19/php-cs-fixer.phar" \ @@ -428,6 +444,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -447,12 +473,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -487,6 +523,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -524,7 +565,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -631,6 +678,16 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -666,6 +723,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -681,11 +748,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -711,6 +788,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-5.4 b/Dockerfiles/work/Dockerfile-5.4 index 69df97f..a2a2b4a 100644 --- a/Dockerfiles/work/Dockerfile-5.4 +++ b/Dockerfiles/work/Dockerfile-5.4 @@ -271,7 +271,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -374,7 +380,7 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer:1.3.7 \ && ln -s /usr/local/src/composer/vendor/laravel/installer/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -391,6 +397,16 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.2.19/php-cs-fixer.phar" \ @@ -451,6 +467,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -470,12 +496,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -510,6 +546,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -547,7 +588,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -656,7 +703,7 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -669,6 +716,16 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -704,6 +761,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -719,11 +786,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -749,6 +826,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-5.5 b/Dockerfiles/work/Dockerfile-5.5 index 43e56b1..1b578a0 100644 --- a/Dockerfiles/work/Dockerfile-5.5 +++ b/Dockerfiles/work/Dockerfile-5.5 @@ -271,7 +271,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer:2.2.0 \ && ln -s /usr/local/src/composer/vendor/laravel/installer/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools:3.4.11 \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.2.19/php-cs-fixer.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-5.6 b/Dockerfiles/work/Dockerfile-5.6 index e177ea7..7a4706a 100644 --- a/Dockerfiles/work/Dockerfile-5.6 +++ b/Dockerfiles/work/Dockerfile-5.6 @@ -271,7 +271,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer:2.2.0 \ && ln -s /usr/local/src/composer/vendor/laravel/installer/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools:3.4.11 \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v2.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-7.0 b/Dockerfiles/work/Dockerfile-7.0 index 7dc5278..b0d7d25 100644 --- a/Dockerfiles/work/Dockerfile-7.0 +++ b/Dockerfiles/work/Dockerfile-7.0 @@ -271,7 +271,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer:2.2.0 \ && ln -s /usr/local/src/composer/vendor/laravel/installer/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools:3.4.11 \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v2.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-7.1 b/Dockerfiles/work/Dockerfile-7.1 index b151e38..88d203b 100644 --- a/Dockerfiles/work/Dockerfile-7.1 +++ b/Dockerfiles/work/Dockerfile-7.1 @@ -271,7 +271,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer:2.3.0 \ && ln -s /usr/local/src/composer/vendor/laravel/installer/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools:3.4.11 \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v2.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-7.2 b/Dockerfiles/work/Dockerfile-7.2 index d867e5f..1f20261 100644 --- a/Dockerfiles/work/Dockerfile-7.2 +++ b/Dockerfiles/work/Dockerfile-7.2 @@ -271,7 +271,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer:4.0.0 \ && ln -s /usr/local/src/composer/vendor/laravel/installer/bin/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v2.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-7.3 b/Dockerfiles/work/Dockerfile-7.3 index 7a0117d..72152ac 100644 --- a/Dockerfiles/work/Dockerfile-7.3 +++ b/Dockerfiles/work/Dockerfile-7.3 @@ -273,7 +273,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer \ && ln -s /usr/local/src/composer/vendor/laravel/installer/bin/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v2.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-7.4 b/Dockerfiles/work/Dockerfile-7.4 index 3b56de5..9cb8554 100644 --- a/Dockerfiles/work/Dockerfile-7.4 +++ b/Dockerfiles/work/Dockerfile-7.4 @@ -273,7 +273,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer \ && ln -s /usr/local/src/composer/vendor/laravel/installer/bin/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v3.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-8.0 b/Dockerfiles/work/Dockerfile-8.0 index e033bf7..7cc445e 100644 --- a/Dockerfiles/work/Dockerfile-8.0 +++ b/Dockerfiles/work/Dockerfile-8.0 @@ -273,7 +273,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer \ && ln -s /usr/local/src/composer/vendor/laravel/installer/bin/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v3.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-8.1 b/Dockerfiles/work/Dockerfile-8.1 index 834dbd7..4fb8edb 100644 --- a/Dockerfiles/work/Dockerfile-8.1 +++ b/Dockerfiles/work/Dockerfile-8.1 @@ -273,7 +273,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer \ && ln -s /usr/local/src/composer/vendor/laravel/installer/bin/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,6 +413,55 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache phalcon/devtools \ + && ln -s /usr/local/src/composer/vendor/phalcon/devtools/phalcon /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v3.phar" \ @@ -467,6 +522,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +551,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +601,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +643,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +763,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,16 +776,43 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true +# -------------------- (apt) mupdf-tools -------------------- +RUN set -eux \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ + && true + +# -------------------- (composer) phalcon-devtools -------------------- +RUN set -eux \ + && if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + && true + # -------------------- (custom) php-cs-fixer -------------------- RUN set -eux \ && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ @@ -730,6 +848,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +873,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +913,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/Dockerfiles/work/Dockerfile-8.2 b/Dockerfiles/work/Dockerfile-8.2 index a8a5415..5408d96 100644 --- a/Dockerfiles/work/Dockerfile-8.2 +++ b/Dockerfiles/work/Dockerfile-8.2 @@ -273,7 +273,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -382,7 +388,15 @@ RUN set -eux \ && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/installer \ && ln -s /usr/local/src/composer/vendor/laravel/installer/bin/laravel /usr/local/bin/ \ && rm -rf /usr/local/src/composer/cache/* \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ + && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ + && rm -rf /usr/local/src/composer/cache/* \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -392,14 +406,6 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && COMPOSER_HOME="/usr/local/src/composer" COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer-2 global require --no-interaction --no-cache laravel/lumen-installer \ - && ln -s /usr/local/src/composer/vendor/laravel/lumen-installer/lumen /usr/local/bin/ \ - && rm -rf /usr/local/src/composer/cache/* \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force mdlint' devilbox \ @@ -407,12 +413,14 @@ RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true -# -------------------- (custom) php-cs-fixer -------------------- +# -------------------- (apt) mupdf-tools -------------------- RUN set -eux \ - && PHP_CS_FIXER_URL="https://cs.symfony.com/download/php-cs-fixer-v3.phar" \ - && curl -sS -k -L --fail -L "${PHP_CS_FIXER_URL}" -o /usr/local/bin/php-cs-fixer \ - && chmod +x /usr/local/bin/php-cs-fixer \ - && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ && true # -------------------- (custom) phpcbf -------------------- @@ -467,6 +475,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force sass' devilbox \ @@ -486,12 +504,22 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir /usr/local/bin \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && su -c '. /opt/nvm/nvm.sh; npm install -g --force @vue/cli' devilbox \ @@ -526,6 +554,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Post fixes ### @@ -563,7 +596,13 @@ RUN set -eux \ # ---------- type: apt ---------- git \ jq \ + mupdf-tools \ + openssh-client \ + rsync \ shellcheck \ + subversion \ + tig \ + zsh \ && rm -rf /var/lib/apt/lists/* ### @@ -677,7 +716,12 @@ RUN set -eux \ # -------------------- (composer) laravel-installer -------------------- RUN set -eux \ - && laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) \ + && laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) \ + && true + +# -------------------- (composer) laravel-lumen -------------------- +RUN set -eux \ + && lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) \ && true # -------------------- (custom) linkcheck -------------------- @@ -685,19 +729,19 @@ RUN set -eux \ && linkcheck --version | grep -E 'v[0-9][.0-9]+' || (linkcheck --version; false) \ && true -# -------------------- (composer) lumen -------------------- -RUN set -eux \ - && lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) \ - && true - # -------------------- (npm) mdlint -------------------- RUN set -eux \ && mdlint --version | grep -E '[0-9][.0-9]+' || (mdlint --version; false) \ && true -# -------------------- (custom) php-cs-fixer -------------------- +# -------------------- (apt) mupdf-tools -------------------- RUN set -eux \ - && php-cs-fixer --version 2>&1 | grep -E 'Fixer\s+(version\s*)?[-_.0-9]+\s+' || (php-cs-fixer --version; false) \ + && echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + \ && true # -------------------- (custom) phpcbf -------------------- @@ -730,6 +774,16 @@ RUN set -eux \ && pwncat --version 2>&1 | grep -E 'Version [0-9][.0-9]+' || (pwncat --version; false) \ && true +# -------------------- (apt) ssh -------------------- +RUN set -eux \ + && ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) \ + && true + +# -------------------- (apt) rsync -------------------- +RUN set -eux \ + && rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) \ + && true + # -------------------- (npm) sass -------------------- RUN set -eux \ && sass --version | grep -E '[0-9][.0-9]+' || (sass --version; false) \ @@ -745,11 +799,21 @@ RUN set -eux \ && stylelint --version | grep -E '[0-9][.0-9]+' || (stylelint --version; false) \ && true +# -------------------- (apt) svn -------------------- +RUN set -eux \ + && svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) \ + && true + # -------------------- (custom) symfony-cli -------------------- RUN set -eux \ && symfony --no-ansi -V | grep -E 'version [0-9][.0-9]+' || (symfony --no-ansi -V; false) \ && true +# -------------------- (apt) tig -------------------- +RUN set -eux \ + && tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) \ + && true + # -------------------- (npm) vue-cli -------------------- RUN set -eux \ && vue --version | grep -E '[0-9][.0-9]+' || (vue --version; false) \ @@ -775,6 +839,11 @@ RUN set -eux \ && yq --version 2>&1 | grep -E '[0-9][.0-9]+' || (yq --version; false) \ && true +# -------------------- (apt) zsh -------------------- +RUN set -eux \ + && zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) \ + && true + ### ### Re-activate modules which have been deactivated in mods (for testing). ### diff --git a/bin/gen-docs-php-tools.py b/bin/gen-docs-php-tools.py index b4fc83d..fd3a368 100755 --- a/bin/gen-docs-php-tools.py +++ b/bin/gen-docs-php-tools.py @@ -156,7 +156,7 @@ def get_markdown(tools: List[Dict[str, Any]]) -> str: if str(php) in tool["exclude"]: markdown += " |" else: - markdown += " 🗸 |" + markdown += " ✓ |" markdown += "\n" markdown += "\n" diff --git a/doc/available-tools.md b/doc/available-tools.md index 2166ab7..41896cf 100644 --- a/doc/available-tools.md +++ b/doc/available-tools.md @@ -42,179 +42,195 @@ The following PHP cli tools are available on the `slim` flavour: Blackfire - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ MongoDB client - 🗸[1] - 🗸[1] - 🗸[1] - 🗸[1] - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓[1] + ✓[1] + ✓[1] + ✓[1] + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ MySQL client - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ PostgreSQL client - 🗸[1] - 🗸[1] - 🗸[1] - 🗸[1] - 🗸[1] - 🗸[1] - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓[1] + ✓[1] + ✓[1] + ✓[1] + ✓[1] + ✓[1] + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ Redis client - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ SQLite client - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ dig - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ mhsendmail - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ mysqldump-secure - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ netcat - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ ping - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 - 🗸 + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + + + sudo + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ + ✓ @@ -233,46 +249,53 @@ Additionally to all of the `slim` tools shown above, the following PHP cli tools | Tool | PHP 5.2 | PHP 5.3 | PHP 5.4 | PHP 5.5 | PHP 5.6 | PHP 7.0 | PHP 7.1 | PHP 7.2 | PHP 7.3 | PHP 7.4 | PHP 8.0 | PHP 8.1 | PHP 8.2 | |--------------------------------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------| -| [angular-cli][lnk_angular-cli] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [asgardcms][lnk_asgardcms] | | | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [awesome-ci][lnk_awesome-ci] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [codeception][lnk_codeception] | | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [**composer**][lnk_**composer**] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [**corepack**][lnk_**corepack**] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [deployer][lnk_deployer] | | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [eslint][lnk_eslint] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [git][lnk_git] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [git-flow][lnk_git-flow] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [grunt-cli][lnk_grunt-cli] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [gulp][lnk_gulp] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [jq][lnk_jq] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [jsonlint][lnk_jsonlint] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [laravel-installer][lnk_laravel-installer] | | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [linkcheck][lnk_linkcheck] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [lumen][lnk_lumen] | | | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [mdl][lnk_mdl] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [mdlint][lnk_mdlint] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [**node**][lnk_**node**] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [**npm**][lnk_**npm**] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [**nvm**][lnk_**nvm**] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [php-cs-fixer][lnk_php-cs-fixer] | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [phpcbf][lnk_phpcbf] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [phpcs][lnk_phpcs] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [phpmd][lnk_phpmd] | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [phpunit][lnk_phpunit] | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [**pip**][lnk_**pip**] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [pm2][lnk_pm2] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [pwncat][lnk_pwncat] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [sass][lnk_sass] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [shellcheck][lnk_shellcheck] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [stylelint][lnk_stylelint] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [symfony-cli][lnk_symfony-cli] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [vue-cli][lnk_vue-cli] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [webpack-cli][lnk_webpack-cli] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [wp-cli][lnk_wp-cli] | | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [yamllint][lnk_yamllint] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [**yarn**][lnk_**yarn**] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | -| [yq][lnk_yq] | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | 🗸 | +| [angular-cli][lnk_angular-cli] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [asgardcms][lnk_asgardcms] | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [awesome-ci][lnk_awesome-ci] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [codeception][lnk_codeception] | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [**composer**][lnk_**composer**] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [**corepack**][lnk_**corepack**] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [deployer][lnk_deployer] | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [eslint][lnk_eslint] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [git][lnk_git] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [git-flow][lnk_git-flow] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [grunt-cli][lnk_grunt-cli] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [gulp][lnk_gulp] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [jq][lnk_jq] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [jsonlint][lnk_jsonlint] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [laravel-installer][lnk_laravel-installer] | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [laravel-lumen][lnk_laravel-lumen] | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [linkcheck][lnk_linkcheck] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [mdl][lnk_mdl] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [mdlint][lnk_mdlint] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [mupdf-tools][lnk_mupdf-tools] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [**node**][lnk_**node**] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [**npm**][lnk_**npm**] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [**nvm**][lnk_**nvm**] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [phalcon-devtools][lnk_phalcon-devtools] | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | +| [php-cs-fixer][lnk_php-cs-fixer] | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | +| [phpcbf][lnk_phpcbf] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [phpcs][lnk_phpcs] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [phpmd][lnk_phpmd] | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [phpunit][lnk_phpunit] | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [**pip**][lnk_**pip**] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [pm2][lnk_pm2] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [pwncat][lnk_pwncat] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [rsync][lnk_rsync] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [sass][lnk_sass] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [shellcheck][lnk_shellcheck] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [ssh][lnk_ssh] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [stylelint][lnk_stylelint] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [svn][lnk_svn] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [symfony-cli][lnk_symfony-cli] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [tig][lnk_tig] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [vue-cli][lnk_vue-cli] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [webpack-cli][lnk_webpack-cli] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [wp-cli][lnk_wp-cli] | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [yamllint][lnk_yamllint] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [**yarn**][lnk_**yarn**] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [yq][lnk_yq] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| [zsh][lnk_zsh] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | [lnk_angular-cli]: ../php_tools/angular-cli [lnk_asgardcms]: ../php_tools/asgardcms @@ -289,13 +312,15 @@ Additionally to all of the `slim` tools shown above, the following PHP cli tools [lnk_jq]: ../php_tools/jq [lnk_jsonlint]: ../php_tools/jsonlint [lnk_laravel-installer]: ../php_tools/laravel-installer +[lnk_laravel-lumen]: ../php_tools/laravel-lumen [lnk_linkcheck]: ../php_tools/linkcheck -[lnk_lumen]: ../php_tools/lumen [lnk_mdl]: ../php_tools/mdl [lnk_mdlint]: ../php_tools/mdlint +[lnk_mupdf-tools]: ../php_tools/mupdf-tools [lnk_**node**]: https://nodejs.org/en/ [lnk_**npm**]: https://nodejs.org/en/knowledge/getting-started/npm/what-is-npm/ [lnk_**nvm**]: https://github.com/nvm-sh/nvm +[lnk_phalcon-devtools]: ../php_tools/phalcon-devtools [lnk_php-cs-fixer]: ../php_tools/php-cs-fixer [lnk_phpcbf]: ../php_tools/phpcbf [lnk_phpcs]: ../php_tools/phpcs @@ -304,16 +329,21 @@ Additionally to all of the `slim` tools shown above, the following PHP cli tools [lnk_**pip**]: https://pypi.org/ [lnk_pm2]: ../php_tools/pm2 [lnk_pwncat]: ../php_tools/pwncat +[lnk_rsync]: ../php_tools/rsync [lnk_sass]: ../php_tools/sass [lnk_shellcheck]: ../php_tools/shellcheck +[lnk_ssh]: ../php_tools/ssh [lnk_stylelint]: ../php_tools/stylelint +[lnk_svn]: ../php_tools/svn [lnk_symfony-cli]: ../php_tools/symfony-cli +[lnk_tig]: ../php_tools/tig [lnk_vue-cli]: ../php_tools/vue-cli [lnk_webpack-cli]: ../php_tools/webpack-cli [lnk_wp-cli]: ../php_tools/wp-cli [lnk_yamllint]: ../php_tools/yamllint [lnk_**yarn**]: https://yarnpkg.com/cli/install [lnk_yq]: ../php_tools/yq +[lnk_zsh]: ../php_tools/zsh diff --git a/php_tools/laravel-installer/install.yml b/php_tools/laravel-installer/install.yml index b406a79..fe84b63 100644 --- a/php_tools/laravel-installer/install.yml +++ b/php_tools/laravel-installer/install.yml @@ -1,6 +1,6 @@ --- -check: laravel --version | grep -E '^Laravel Installer\s[0-9][.0-9]+$' || (laravel --version; false) +check: laravel --version | grep version | grep -E '[0-9]\.[0-9]+' || (laravel --version; false) all: type: composer diff --git a/php_tools/lumen/README.md b/php_tools/laravel-lumen/README.md similarity index 100% rename from php_tools/lumen/README.md rename to php_tools/laravel-lumen/README.md diff --git a/php_tools/lumen/install.yml b/php_tools/laravel-lumen/install.yml similarity index 60% rename from php_tools/lumen/install.yml rename to php_tools/laravel-lumen/install.yml index 37ea6e1..82ffde4 100644 --- a/php_tools/lumen/install.yml +++ b/php_tools/laravel-lumen/install.yml @@ -1,6 +1,6 @@ --- -check: lumen --version 2>/dev/null | grep -E '^Lumen Installer\s[0-9][.0-9]+$' || (lumen --version; false) +check: lumen --version 2>/dev/null | grep ^Lumen | grep -E '[0-9]\.[0-9]+' || (lumen --version; false) all: type: composer diff --git a/php_tools/lumen/options.yml b/php_tools/laravel-lumen/options.yml similarity index 92% rename from php_tools/lumen/options.yml rename to php_tools/laravel-lumen/options.yml index 3e0f499..7246089 100644 --- a/php_tools/lumen/options.yml +++ b/php_tools/laravel-lumen/options.yml @@ -1,7 +1,7 @@ --- # The name of the module -name: lumen +name: laravel-lumen # Exclude module build/installation for the following PHP versions exclude: [5.2, 5.3, 5.4] diff --git a/php_tools/mupdf-tools/README.md b/php_tools/mupdf-tools/README.md new file mode 100644 index 0000000..f6fb743 --- /dev/null +++ b/php_tools/mupdf-tools/README.md @@ -0,0 +1,9 @@ +# mupdf-tools + +The command line tools allow you to annotate, edit, and convert documents to other formats such as HTML, SVG, PDF, and CBZ. You can also write scripts to manipulate documents using Javascript. + +| Platform | Url | +|----------|------------------------------------------------------------------| +| Website | https://mupdf.com/index.html | +| Docs | https://mupdf.com/docs/index.html | +| Git | http://git.ghostscript.com/?p=mupdf.git;a=summary | diff --git a/php_tools/mupdf-tools/install.yml b/php_tools/mupdf-tools/install.yml new file mode 100644 index 0000000..1013d6b --- /dev/null +++ b/php_tools/mupdf-tools/install.yml @@ -0,0 +1,12 @@ +--- + +check: | + echo test > test.txt \ + && mutool create -o test.pdf test.txt \ + && file test.pdf | gre 'PDF document' \ + && rm test.txt \ + && rm test.pdf \ + +all: + type: apt + package: mupdf-tools diff --git a/php_tools/mupdf-tools/options.yml b/php_tools/mupdf-tools/options.yml new file mode 100644 index 0000000..ffb1eb6 --- /dev/null +++ b/php_tools/mupdf-tools/options.yml @@ -0,0 +1,11 @@ +--- + +# The name of the module +name: mupdf-tools + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this tool to build/install correctly, +# the following tools must have been installed first. +depends: [] diff --git a/php_tools/phalcon-devtools/README.md b/php_tools/phalcon-devtools/README.md new file mode 100644 index 0000000..b10227d --- /dev/null +++ b/php_tools/phalcon-devtools/README.md @@ -0,0 +1,11 @@ +# Phalcon Devtools + +This tools provide you useful scripts to generate code helping to develop faster and easy applications that use with Phalcon framework. + +**Note:** In order to use this, you need to explicitly enable `phalcon.so` and `psr.so` in php.ini for PHP CLI and PHP-FPM. + +| Platform | Url | +|----------|------------------------------------------------------------------| +| Composer | https://packagist.org/packages/phalcon/devtools | +| GitHub | https://github.com/phalcon/phalcon-devtools | +| Docs | https://docs.phalcon.io/5.0/en/devtools | diff --git a/php_tools/phalcon-devtools/install.yml b/php_tools/phalcon-devtools/install.yml new file mode 100644 index 0000000..a3b6ff1 --- /dev/null +++ b/php_tools/phalcon-devtools/install.yml @@ -0,0 +1,68 @@ +--- + +# Ensure to load phalcon (and its requirement psr prior testing) +check: | + if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + \ + \ + && phalcon commands | grep -E '[0-9][.0-9]+' || (phalcon commands; false) \ + \ + \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + +all: + type: composer + composer: 2 + package: phalcon/devtools + binary: phalcon + # Enable phalcon.so (and its requirement psr prior installing) + pre: | + if find /usr/local/lib/php/extensions/ -name phalcon.so | grep phalcon; then \ + echo "extension=phalcon.so" > /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + # Disable phalcon.so (and its requirement psr after installing) + post: | + if [ -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini ]; then \ + rm /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini; \ + fi \ + && if [ -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini ]; then \ + echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \ + fi \ + +7.1: + type: composer + version: 3.4.11 + +7.0: + type: composer + version: 3.4.11 + +5.6: + type: composer + version: 3.4.11 + +5.5: + type: composer + version: 3.4.11 + +# Disabled, as their symlink does not work. Filename: phalcon.php +# 5.4: +# type: composer +# version: 2.0.9 +# +# 5.3: +# type: composer +# version: 2.0.7 diff --git a/php_tools/phalcon-devtools/options.yml b/php_tools/phalcon-devtools/options.yml new file mode 100644 index 0000000..23132ce --- /dev/null +++ b/php_tools/phalcon-devtools/options.yml @@ -0,0 +1,11 @@ +--- + +# The name of the module +name: phalcon-devtools + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 8.2] # See ../../php_modules/phalcon/options.yml + +# In order for this tool to build/install correctly, +# the following tools must have been installed first. +depends: [] diff --git a/php_tools/php-cs-fixer/options.yml b/php_tools/php-cs-fixer/options.yml index f36d910..35c787f 100644 --- a/php_tools/php-cs-fixer/options.yml +++ b/php_tools/php-cs-fixer/options.yml @@ -4,7 +4,7 @@ name: php-cs-fixer # Exclude module build/installation for the following PHP versions -exclude: [5.2] +exclude: [5.2, 8.2] # In order for this tool to build/install correctly, # the following tools must have been installed first. diff --git a/php_tools/rsync/README.md b/php_tools/rsync/README.md new file mode 100644 index 0000000..8867e1a --- /dev/null +++ b/php_tools/rsync/README.md @@ -0,0 +1,8 @@ +# Rsync + +Rsync is a fast and extraordinarily versatile file copying tool for both remote and local files. + +| Platform | Url | +|----------|------------------------------------------------------------------| +| GitHub | https://github.com/WayneD/rsync | +| Website | https://rsync.samba.org/ | diff --git a/php_tools/rsync/install.yml b/php_tools/rsync/install.yml new file mode 100644 index 0000000..94a3751 --- /dev/null +++ b/php_tools/rsync/install.yml @@ -0,0 +1,7 @@ +--- + +check: rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false) + +all: + type: apt + package: rsync diff --git a/php_tools/rsync/options.yml b/php_tools/rsync/options.yml new file mode 100644 index 0000000..1af36c5 --- /dev/null +++ b/php_tools/rsync/options.yml @@ -0,0 +1,11 @@ +--- + +# The name of the module +name: rsync + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this tool to build/install correctly, +# the following tools must have been installed first. +depends: [ssh] diff --git a/php_tools/ssh/README.md b/php_tools/ssh/README.md new file mode 100644 index 0000000..429bd1b --- /dev/null +++ b/php_tools/ssh/README.md @@ -0,0 +1,7 @@ +# OpenSSH Client + +OpenSSH Client is a program for logging into a remote machine and for executing commands on a remote machine. + +| Platform | Url | +|----------|------------------------------------------------------------------| +| Website | https://www.openssh.com/ | diff --git a/php_tools/ssh/install.yml b/php_tools/ssh/install.yml new file mode 100644 index 0000000..753717b --- /dev/null +++ b/php_tools/ssh/install.yml @@ -0,0 +1,7 @@ +--- + +check: ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false) + +all: + type: apt + package: openssh-client diff --git a/php_tools/ssh/options.yml b/php_tools/ssh/options.yml new file mode 100644 index 0000000..863453e --- /dev/null +++ b/php_tools/ssh/options.yml @@ -0,0 +1,11 @@ +--- + +# The name of the module +name: ssh + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this tool to build/install correctly, +# the following tools must have been installed first. +depends: [] diff --git a/php_tools/svn/README.md b/php_tools/svn/README.md new file mode 100644 index 0000000..28102bb --- /dev/null +++ b/php_tools/svn/README.md @@ -0,0 +1,7 @@ +# Subversion + +https://subversion.apache.org/ + +| Platform | Url | +|----------|------------------------------------------------------------------| +| Website | https://subversion.apache.org/ | diff --git a/php_tools/svn/install.yml b/php_tools/svn/install.yml new file mode 100644 index 0000000..71630a1 --- /dev/null +++ b/php_tools/svn/install.yml @@ -0,0 +1,7 @@ +--- + +check: svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false) + +all: + type: apt + package: subversion diff --git a/php_tools/svn/options.yml b/php_tools/svn/options.yml new file mode 100644 index 0000000..b2c86e0 --- /dev/null +++ b/php_tools/svn/options.yml @@ -0,0 +1,11 @@ +--- + +# The name of the module +name: svn + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this tool to build/install correctly, +# the following tools must have been installed first. +depends: [] diff --git a/php_tools/tig/README.md b/php_tools/tig/README.md new file mode 100644 index 0000000..168fde7 --- /dev/null +++ b/php_tools/tig/README.md @@ -0,0 +1,8 @@ +# Tig: text-mode interface for Gi + +Tig is an ncurses-based text-mode interface for git. It functions mainly as a Git repository browser, but can also assist in staging changes for commit at chunk level and act as a pager for output from various Git commands. + +| Platform | Url | +|----------|------------------------------------------------------------------| +| GitHub | https://github.com/jonas/tig | +| Website | https://jonas.github.io/tig/ | diff --git a/php_tools/tig/install.yml b/php_tools/tig/install.yml new file mode 100644 index 0000000..92cc0a0 --- /dev/null +++ b/php_tools/tig/install.yml @@ -0,0 +1,7 @@ +--- + +check: tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false) + +all: + type: apt + package: tig diff --git a/php_tools/tig/options.yml b/php_tools/tig/options.yml new file mode 100644 index 0000000..9a757e2 --- /dev/null +++ b/php_tools/tig/options.yml @@ -0,0 +1,11 @@ +--- + +# The name of the module +name: tig + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this tool to build/install correctly, +# the following tools must have been installed first. +depends: [git] diff --git a/php_tools/zsh/README.md b/php_tools/zsh/README.md new file mode 100644 index 0000000..1bcfbaa --- /dev/null +++ b/php_tools/zsh/README.md @@ -0,0 +1,8 @@ +# Zsh + +Zsh is a shell designed for interactive use, although it is also a powerful scripting language. + +| Platform | Url | +|----------|------------------------------------------------------------------| +| GitHub | https://github.com/zsh-users/zsh | +| Website | https://www.zsh.org/ | diff --git a/php_tools/zsh/install.yml b/php_tools/zsh/install.yml new file mode 100644 index 0000000..821ba31 --- /dev/null +++ b/php_tools/zsh/install.yml @@ -0,0 +1,7 @@ +--- + +check: zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false) + +all: + type: apt + package: zsh diff --git a/php_tools/zsh/options.yml b/php_tools/zsh/options.yml new file mode 100644 index 0000000..ee19dbc --- /dev/null +++ b/php_tools/zsh/options.yml @@ -0,0 +1,11 @@ +--- + +# The name of the module +name: zsh + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this tool to build/install correctly, +# the following tools must have been installed first. +depends: []