Backport more toole

This commit is contained in:
cytopia
2022-12-09 07:36:55 +01:00
parent 820159d95a
commit 36bc9dc099
56 changed files with 2511 additions and 362 deletions

View File

@@ -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
###

View File

@@ -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

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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).
###

View File

@@ -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"

View File

@@ -42,179 +42,195 @@ The following PHP cli tools are available on the `slim` flavour:
</tr>
<tr>
<td><a target="_blank" href="https://blackfire.io/docs/introduction">Blackfire</a></td>
<td class="tool_slim_blackfire_5.2">🗸</td>
<td class="tool_slim_blackfire_5.3">🗸</td>
<td class="tool_slim_blackfire_5.4">🗸</td>
<td class="tool_slim_blackfire_5.5">🗸</td>
<td class="tool_slim_blackfire_5.6">🗸</td>
<td class="tool_slim_blackfire_7.0">🗸</td>
<td class="tool_slim_blackfire_7.1">🗸</td>
<td class="tool_slim_blackfire_7.2">🗸</td>
<td class="tool_slim_blackfire_7.3">🗸</td>
<td class="tool_slim_blackfire_7.4">🗸</td>
<td class="tool_slim_blackfire_8.0">🗸</td>
<td class="tool_slim_blackfire_8.1">🗸</td>
<td class="tool_slim_blackfire_8.2">🗸</td>
<td class="tool_slim_blackfire_5.2"></td>
<td class="tool_slim_blackfire_5.3"></td>
<td class="tool_slim_blackfire_5.4"></td>
<td class="tool_slim_blackfire_5.5"></td>
<td class="tool_slim_blackfire_5.6"></td>
<td class="tool_slim_blackfire_7.0"></td>
<td class="tool_slim_blackfire_7.1"></td>
<td class="tool_slim_blackfire_7.2"></td>
<td class="tool_slim_blackfire_7.3"></td>
<td class="tool_slim_blackfire_7.4"></td>
<td class="tool_slim_blackfire_8.0"></td>
<td class="tool_slim_blackfire_8.1"></td>
<td class="tool_slim_blackfire_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://www.mongodb.com/docs/v4.4/mongo/">MongoDB client</a></td>
<td class="tool_slim_mongo_5.2">🗸<sup>[1]</sup></td>
<td class="tool_slim_mongo_5.3">🗸<sup>[1]</sup></td>
<td class="tool_slim_mongo_5.4">🗸<sup>[1]</sup></td>
<td class="tool_slim_mongo_5.5">🗸<sup>[1]</sup></td>
<td class="tool_slim_mongo_5.6">🗸</td>
<td class="tool_slim_mongo_7.0">🗸</td>
<td class="tool_slim_mongo_7.1">🗸</td>
<td class="tool_slim_mongo_7.2">🗸</td>
<td class="tool_slim_mongo_7.3">🗸</td>
<td class="tool_slim_mongo_7.4">🗸</td>
<td class="tool_slim_mongo_8.0">🗸</td>
<td class="tool_slim_mongo_8.1">🗸</td>
<td class="tool_slim_mongo_8.2">🗸</td>
<td class="tool_slim_mongo_5.2"><sup>[1]</sup></td>
<td class="tool_slim_mongo_5.3"><sup>[1]</sup></td>
<td class="tool_slim_mongo_5.4"><sup>[1]</sup></td>
<td class="tool_slim_mongo_5.5"><sup>[1]</sup></td>
<td class="tool_slim_mongo_5.6"></td>
<td class="tool_slim_mongo_7.0"></td>
<td class="tool_slim_mongo_7.1"></td>
<td class="tool_slim_mongo_7.2"></td>
<td class="tool_slim_mongo_7.3"></td>
<td class="tool_slim_mongo_7.4"></td>
<td class="tool_slim_mongo_8.0"></td>
<td class="tool_slim_mongo_8.1"></td>
<td class="tool_slim_mongo_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://dev.mysql.com/doc/refman/8.0/en/mysql.html">MySQL client</a></td>
<td class="tool_slim_mysql_5.2">🗸</td>
<td class="tool_slim_mysql_5.3">🗸</td>
<td class="tool_slim_mysql_5.4">🗸</td>
<td class="tool_slim_mysql_5.5">🗸</td>
<td class="tool_slim_mysql_5.6">🗸</td>
<td class="tool_slim_mysql_7.0">🗸</td>
<td class="tool_slim_mysql_7.1">🗸</td>
<td class="tool_slim_mysql_7.2">🗸</td>
<td class="tool_slim_mysql_7.3">🗸</td>
<td class="tool_slim_mysql_7.4">🗸</td>
<td class="tool_slim_mysql_8.0">🗸</td>
<td class="tool_slim_mysql_8.1">🗸</td>
<td class="tool_slim_mysql_8.2">🗸</td>
<td class="tool_slim_mysql_5.2"></td>
<td class="tool_slim_mysql_5.3"></td>
<td class="tool_slim_mysql_5.4"></td>
<td class="tool_slim_mysql_5.5"></td>
<td class="tool_slim_mysql_5.6"></td>
<td class="tool_slim_mysql_7.0"></td>
<td class="tool_slim_mysql_7.1"></td>
<td class="tool_slim_mysql_7.2"></td>
<td class="tool_slim_mysql_7.3"></td>
<td class="tool_slim_mysql_7.4"></td>
<td class="tool_slim_mysql_8.0"></td>
<td class="tool_slim_mysql_8.1"></td>
<td class="tool_slim_mysql_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://www.postgresql.org/docs/current/reference-client.html">PostgreSQL client</a></td>
<td class="tool_slim_pgsql_5.2">🗸<sup>[1]</sup></td>
<td class="tool_slim_pgsql_5.3">🗸<sup>[1]</sup></td>
<td class="tool_slim_pgsql_5.4">🗸<sup>[1]</sup></td>
<td class="tool_slim_pgsql_5.5">🗸<sup>[1]</sup></td>
<td class="tool_slim_pgsql_5.6">🗸<sup>[1]</sup></td>
<td class="tool_slim_pgsql_7.0">🗸<sup>[1]</sup></td>
<td class="tool_slim_pgsql_7.1">🗸</td>
<td class="tool_slim_pgsql_7.2">🗸</td>
<td class="tool_slim_pgsql_7.3">🗸</td>
<td class="tool_slim_pgsql_7.4">🗸</td>
<td class="tool_slim_pgsql_8.0">🗸</td>
<td class="tool_slim_pgsql_8.1">🗸</td>
<td class="tool_slim_pgsql_8.2">🗸</td>
<td class="tool_slim_pgsql_5.2"><sup>[1]</sup></td>
<td class="tool_slim_pgsql_5.3"><sup>[1]</sup></td>
<td class="tool_slim_pgsql_5.4"><sup>[1]</sup></td>
<td class="tool_slim_pgsql_5.5"><sup>[1]</sup></td>
<td class="tool_slim_pgsql_5.6"><sup>[1]</sup></td>
<td class="tool_slim_pgsql_7.0"><sup>[1]</sup></td>
<td class="tool_slim_pgsql_7.1"></td>
<td class="tool_slim_pgsql_7.2"></td>
<td class="tool_slim_pgsql_7.3"></td>
<td class="tool_slim_pgsql_7.4"></td>
<td class="tool_slim_pgsql_8.0"></td>
<td class="tool_slim_pgsql_8.1"></td>
<td class="tool_slim_pgsql_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://redis.io/docs/manual/cli/">Redis client</a></td>
<td class="tool_slim_redis_5.2">🗸</td>
<td class="tool_slim_redis_5.3">🗸</td>
<td class="tool_slim_redis_5.4">🗸</td>
<td class="tool_slim_redis_5.5">🗸</td>
<td class="tool_slim_redis_5.6">🗸</td>
<td class="tool_slim_redis_7.0">🗸</td>
<td class="tool_slim_redis_7.1">🗸</td>
<td class="tool_slim_redis_7.2">🗸</td>
<td class="tool_slim_redis_7.3">🗸</td>
<td class="tool_slim_redis_7.4">🗸</td>
<td class="tool_slim_redis_8.0">🗸</td>
<td class="tool_slim_redis_8.1">🗸</td>
<td class="tool_slim_redis_8.2">🗸</td>
<td class="tool_slim_redis_5.2"></td>
<td class="tool_slim_redis_5.3"></td>
<td class="tool_slim_redis_5.4"></td>
<td class="tool_slim_redis_5.5"></td>
<td class="tool_slim_redis_5.6"></td>
<td class="tool_slim_redis_7.0"></td>
<td class="tool_slim_redis_7.1"></td>
<td class="tool_slim_redis_7.2"></td>
<td class="tool_slim_redis_7.3"></td>
<td class="tool_slim_redis_7.4"></td>
<td class="tool_slim_redis_8.0"></td>
<td class="tool_slim_redis_8.1"></td>
<td class="tool_slim_redis_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://www.sqlite.org/cli.html">SQLite client</a></td>
<td class="tool_slim_sqlite_5.2">🗸</td>
<td class="tool_slim_sqlite_5.3">🗸</td>
<td class="tool_slim_sqlite_5.4">🗸</td>
<td class="tool_slim_sqlite_5.5">🗸</td>
<td class="tool_slim_sqlite_5.6">🗸</td>
<td class="tool_slim_sqlite_7.0">🗸</td>
<td class="tool_slim_sqlite_7.1">🗸</td>
<td class="tool_slim_sqlite_7.2">🗸</td>
<td class="tool_slim_sqlite_7.3">🗸</td>
<td class="tool_slim_sqlite_7.4">🗸</td>
<td class="tool_slim_sqlite_8.0">🗸</td>
<td class="tool_slim_sqlite_8.1">🗸</td>
<td class="tool_slim_sqlite_8.2">🗸</td>
<td class="tool_slim_sqlite_5.2"></td>
<td class="tool_slim_sqlite_5.3"></td>
<td class="tool_slim_sqlite_5.4"></td>
<td class="tool_slim_sqlite_5.5"></td>
<td class="tool_slim_sqlite_5.6"></td>
<td class="tool_slim_sqlite_7.0"></td>
<td class="tool_slim_sqlite_7.1"></td>
<td class="tool_slim_sqlite_7.2"></td>
<td class="tool_slim_sqlite_7.3"></td>
<td class="tool_slim_sqlite_7.4"></td>
<td class="tool_slim_sqlite_8.0"></td>
<td class="tool_slim_sqlite_8.1"></td>
<td class="tool_slim_sqlite_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://linux.die.net/man/1/dig"><code>dig</code></a></td>
<td class="tool_slim_dig_5.2">🗸</td>
<td class="tool_slim_dig_5.3">🗸</td>
<td class="tool_slim_dig_5.4">🗸</td>
<td class="tool_slim_dig_5.5">🗸</td>
<td class="tool_slim_dig_5.6">🗸</td>
<td class="tool_slim_dig_7.0">🗸</td>
<td class="tool_slim_dig_7.1">🗸</td>
<td class="tool_slim_dig_7.2">🗸</td>
<td class="tool_slim_dig_7.3">🗸</td>
<td class="tool_slim_dig_7.4">🗸</td>
<td class="tool_slim_dig_8.0">🗸</td>
<td class="tool_slim_dig_8.1">🗸</td>
<td class="tool_slim_dig_8.2">🗸</td>
<td class="tool_slim_dig_5.2"></td>
<td class="tool_slim_dig_5.3"></td>
<td class="tool_slim_dig_5.4"></td>
<td class="tool_slim_dig_5.5"></td>
<td class="tool_slim_dig_5.6"></td>
<td class="tool_slim_dig_7.0"></td>
<td class="tool_slim_dig_7.1"></td>
<td class="tool_slim_dig_7.2"></td>
<td class="tool_slim_dig_7.3"></td>
<td class="tool_slim_dig_7.4"></td>
<td class="tool_slim_dig_8.0"></td>
<td class="tool_slim_dig_8.1"></td>
<td class="tool_slim_dig_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://github.com/devilbox/mhsendmail/"><code>mhsendmail</code></a></td>
<td class="tool_slim_mhsendmail_5.2">🗸</td>
<td class="tool_slim_mhsendmail_5.3">🗸</td>
<td class="tool_slim_mhsendmail_5.4">🗸</td>
<td class="tool_slim_mhsendmail_5.5">🗸</td>
<td class="tool_slim_mhsendmail_5.6">🗸</td>
<td class="tool_slim_mhsendmail_7.0">🗸</td>
<td class="tool_slim_mhsendmail_7.1">🗸</td>
<td class="tool_slim_mhsendmail_7.2">🗸</td>
<td class="tool_slim_mhsendmail_7.3">🗸</td>
<td class="tool_slim_mhsendmail_7.4">🗸</td>
<td class="tool_slim_mhsendmail_8.0">🗸</td>
<td class="tool_slim_mhsendmail_8.1">🗸</td>
<td class="tool_slim_mhsendmail_8.2">🗸</td>
<td class="tool_slim_mhsendmail_5.2"></td>
<td class="tool_slim_mhsendmail_5.3"></td>
<td class="tool_slim_mhsendmail_5.4"></td>
<td class="tool_slim_mhsendmail_5.5"></td>
<td class="tool_slim_mhsendmail_5.6"></td>
<td class="tool_slim_mhsendmail_7.0"></td>
<td class="tool_slim_mhsendmail_7.1"></td>
<td class="tool_slim_mhsendmail_7.2"></td>
<td class="tool_slim_mhsendmail_7.3"></td>
<td class="tool_slim_mhsendmail_7.4"></td>
<td class="tool_slim_mhsendmail_8.0"></td>
<td class="tool_slim_mhsendmail_8.1"></td>
<td class="tool_slim_mhsendmail_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://mysqldump-secure.org/"><code>mysqldump-secure</code></a></td>
<td class="tool_slim_mysqldump_secure_5.2">🗸</td>
<td class="tool_slim_mysqldump_secure_5.3">🗸</td>
<td class="tool_slim_mysqldump_secure_5.4">🗸</td>
<td class="tool_slim_mysqldump_secure_5.5">🗸</td>
<td class="tool_slim_mysqldump_secure_5.6">🗸</td>
<td class="tool_slim_mysqldump_secure_7.0">🗸</td>
<td class="tool_slim_mysqldump_secure_7.1">🗸</td>
<td class="tool_slim_mysqldump_secure_7.2">🗸</td>
<td class="tool_slim_mysqldump_secure_7.3">🗸</td>
<td class="tool_slim_mysqldump_secure_7.4">🗸</td>
<td class="tool_slim_mysqldump_secure_8.0">🗸</td>
<td class="tool_slim_mysqldump_secure_8.1">🗸</td>
<td class="tool_slim_mysqldump_secure_8.2">🗸</td>
<td class="tool_slim_mysqldump_secure_5.2"></td>
<td class="tool_slim_mysqldump_secure_5.3"></td>
<td class="tool_slim_mysqldump_secure_5.4"></td>
<td class="tool_slim_mysqldump_secure_5.5"></td>
<td class="tool_slim_mysqldump_secure_5.6"></td>
<td class="tool_slim_mysqldump_secure_7.0"></td>
<td class="tool_slim_mysqldump_secure_7.1"></td>
<td class="tool_slim_mysqldump_secure_7.2"></td>
<td class="tool_slim_mysqldump_secure_7.3"></td>
<td class="tool_slim_mysqldump_secure_7.4"></td>
<td class="tool_slim_mysqldump_secure_8.0"></td>
<td class="tool_slim_mysqldump_secure_8.1"></td>
<td class="tool_slim_mysqldump_secure_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://linux.die.net/man/1/nc"><code>netcat</code></a></td>
<td class="tool_slim_netcat_5.2">🗸</td>
<td class="tool_slim_netcat_5.3">🗸</td>
<td class="tool_slim_netcat_5.4">🗸</td>
<td class="tool_slim_netcat_5.5">🗸</td>
<td class="tool_slim_netcat_5.6">🗸</td>
<td class="tool_slim_netcat_7.0">🗸</td>
<td class="tool_slim_netcat_7.1">🗸</td>
<td class="tool_slim_netcat_7.2">🗸</td>
<td class="tool_slim_netcat_7.3">🗸</td>
<td class="tool_slim_netcat_7.4">🗸</td>
<td class="tool_slim_netcat_8.0">🗸</td>
<td class="tool_slim_netcat_8.1">🗸</td>
<td class="tool_slim_netcat_8.2">🗸</td>
<td class="tool_slim_netcat_5.2"></td>
<td class="tool_slim_netcat_5.3"></td>
<td class="tool_slim_netcat_5.4"></td>
<td class="tool_slim_netcat_5.5"></td>
<td class="tool_slim_netcat_5.6"></td>
<td class="tool_slim_netcat_7.0"></td>
<td class="tool_slim_netcat_7.1"></td>
<td class="tool_slim_netcat_7.2"></td>
<td class="tool_slim_netcat_7.3"></td>
<td class="tool_slim_netcat_7.4"></td>
<td class="tool_slim_netcat_8.0"></td>
<td class="tool_slim_netcat_8.1"></td>
<td class="tool_slim_netcat_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://linux.die.net/man/8/ping"><code>ping</code></a></td>
<td class="tool_slim_ping_5.2">🗸</td>
<td class="tool_slim_ping_5.3">🗸</td>
<td class="tool_slim_ping_5.4">🗸</td>
<td class="tool_slim_ping_5.5">🗸</td>
<td class="tool_slim_ping_5.6">🗸</td>
<td class="tool_slim_ping_7.0">🗸</td>
<td class="tool_slim_ping_7.1">🗸</td>
<td class="tool_slim_ping_7.2">🗸</td>
<td class="tool_slim_ping_7.3">🗸</td>
<td class="tool_slim_ping_7.4">🗸</td>
<td class="tool_slim_ping_8.0">🗸</td>
<td class="tool_slim_ping_8.1">🗸</td>
<td class="tool_slim_ping_8.2">🗸</td>
<td class="tool_slim_ping_5.2"></td>
<td class="tool_slim_ping_5.3"></td>
<td class="tool_slim_ping_5.4"></td>
<td class="tool_slim_ping_5.5"></td>
<td class="tool_slim_ping_5.6"></td>
<td class="tool_slim_ping_7.0"></td>
<td class="tool_slim_ping_7.1"></td>
<td class="tool_slim_ping_7.2"></td>
<td class="tool_slim_ping_7.3"></td>
<td class="tool_slim_ping_7.4"></td>
<td class="tool_slim_ping_8.0"></td>
<td class="tool_slim_ping_8.1"></td>
<td class="tool_slim_ping_8.2"></td>
</tr>
<tr>
<td><a target="_blank" href="https://linux.die.net/man/8/sudo"><code>sudo</code></a></td>
<td class="tool_slim_ping_5.2">✓</td>
<td class="tool_slim_ping_5.3">✓</td>
<td class="tool_slim_ping_5.4">✓</td>
<td class="tool_slim_ping_5.5">✓</td>
<td class="tool_slim_ping_5.6">✓</td>
<td class="tool_slim_ping_7.0">✓</td>
<td class="tool_slim_ping_7.1">✓</td>
<td class="tool_slim_ping_7.2">✓</td>
<td class="tool_slim_ping_7.3">✓</td>
<td class="tool_slim_ping_7.4">✓</td>
<td class="tool_slim_ping_8.0">✓</td>
<td class="tool_slim_ping_8.1">✓</td>
<td class="tool_slim_ping_8.2">✓</td>
</tr>
</table>
@@ -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
<!-- TOOLS_WORK_END -->

View File

@@ -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

View File

@@ -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

View File

@@ -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]

View File

@@ -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 |

View File

@@ -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

View File

@@ -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: []

View File

@@ -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 |

View File

@@ -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

View File

@@ -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: []

View File

@@ -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.

View File

@@ -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/ |

View File

@@ -0,0 +1,7 @@
---
check: rsync --version | grep version | grep -E '[0-9]\.[0-9]+' || (rsync --version; false)
all:
type: apt
package: rsync

View File

@@ -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]

7
php_tools/ssh/README.md Normal file
View File

@@ -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/ |

View File

@@ -0,0 +1,7 @@
---
check: ssh -V 2>&1 | grep ^OpenSSH || (ssh -V; false)
all:
type: apt
package: openssh-client

11
php_tools/ssh/options.yml Normal file
View File

@@ -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: []

7
php_tools/svn/README.md Normal file
View File

@@ -0,0 +1,7 @@
# Subversion
https://subversion.apache.org/
| Platform | Url |
|----------|------------------------------------------------------------------|
| Website | https://subversion.apache.org/ |

View File

@@ -0,0 +1,7 @@
---
check: svn --version | grep version | grep -E '[0-9]+\.[0-9]+' || (svn --version; false)
all:
type: apt
package: subversion

11
php_tools/svn/options.yml Normal file
View File

@@ -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: []

8
php_tools/tig/README.md Normal file
View File

@@ -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/ |

View File

@@ -0,0 +1,7 @@
---
check: tig --version 2>&1 | grep -E '[0-9][.0-9]+' || (tig --version; false)
all:
type: apt
package: tig

11
php_tools/tig/options.yml Normal file
View File

@@ -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]

8
php_tools/zsh/README.md Normal file
View File

@@ -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/ |

View File

@@ -0,0 +1,7 @@
---
check: zsh --version 2>&1 | grep -E '[0-9][.0-9]+' || (zsh --version; false)
all:
type: apt
package: zsh

11
php_tools/zsh/options.yml Normal file
View File

@@ -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: []