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

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