Compare commits

..

8 Commits
0.22 ... 0.25

Author SHA1 Message Date
cytopia
46512b05a1 Merge pull request #37 from devilbox/release-0.25
Add PHPUnit
2018-07-27 18:03:52 +02:00
cytopia
a95be98d1c Add PHPUnit 2018-07-27 14:04:39 +02:00
cytopia
ba0709f3f0 Merge pull request #35 from devilbox/release-0.24
Add tool: Ansible
2018-07-23 08:27:23 +02:00
cytopia
329e7bf2ec Fix build error 2018-07-22 20:54:05 +02:00
cytopia
d84cc5708c Ansible dependencies 2018-07-22 20:38:52 +02:00
cytopia
21177a801c Add tool: Ansible 2018-07-22 10:42:27 +02:00
cytopia
d9ae1e9ff5 Merge pull request #34 from devilbox/release-0.23
Add tool: patch
2018-07-20 23:22:07 +02:00
cytopia
c6750acfce Add tool: patch 2018-07-20 19:00:08 +02:00
10 changed files with 204 additions and 27 deletions

View File

@@ -46,6 +46,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -62,6 +63,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -72,8 +75,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \
@@ -95,6 +102,10 @@ RUN set -x \
RUN set -x \ RUN set -x \
# composer # composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# awesomeci # awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \ && git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \ && cd /usr/local/src/awesome-ci \
@@ -196,6 +207,10 @@ RUN set -x \
&& curl -qL https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ && curl -qL https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.0/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
\ \
# phpunit
&& curl -qL https://phar.phpunit.de/phpunit-4.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
\
# sass # sass
&& gem install sass \ && gem install sass \
# webpack # webpack
@@ -262,6 +277,7 @@ RUN set -x \
RUN set -x \ RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \ && composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& mdl --version | grep -E '[.0-9]+' \ && mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \ && scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \ && eslint -v | grep -E '[.0-9]+' \
@@ -278,6 +294,7 @@ RUN set -x \
&& phalcon commands | grep -E '[.0-9]+' \ && phalcon commands | grep -E '[.0-9]+' \
&& phpcs --version | grep -E 'version [.0-9]+' \ && phpcs --version | grep -E 'version [.0-9]+' \
&& phpcbf --version | grep -E 'version [.0-9]+' \ && phpcbf --version | grep -E 'version [.0-9]+' \
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \ && sass --version | grep -E '[.0-9]+' \
&& webpack --version | grep -E '[.0-9]+' \ && webpack --version | grep -E '[.0-9]+' \
&& wp --allow-root --version | grep -E '[.0-9]+' \ && wp --allow-root --version | grep -E '[.0-9]+' \

View File

@@ -46,6 +46,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -62,6 +63,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -72,8 +75,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \
@@ -95,6 +102,10 @@ RUN set -x \
RUN set -x \ RUN set -x \
# composer # composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# awesomeci # awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \ && git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \ && cd /usr/local/src/awesome-ci \
@@ -206,6 +217,10 @@ RUN set -x \
&& curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
\ \
# phpunit
&& curl -qL https://phar.phpunit.de/phpunit-4.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
\
# sass # sass
&& gem install sass \ && gem install sass \
# symfony # symfony
@@ -275,6 +290,7 @@ RUN set -x \
RUN set -x \ RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \ && composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& mdl --version | grep -E '[.0-9]+' \ && mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \ && scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \ && eslint -v | grep -E '[.0-9]+' \
@@ -292,6 +308,7 @@ RUN set -x \
&& phalcon commands | grep -E '[.0-9]+' \ && phalcon commands | grep -E '[.0-9]+' \
&& phpcs --version | grep -E 'version [.0-9]+' \ && phpcs --version | grep -E 'version [.0-9]+' \
&& phpcbf --version | grep -E 'version [.0-9]+' \ && phpcbf --version | grep -E 'version [.0-9]+' \
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \ && sass --version | grep -E '[.0-9]+' \
&& symfony --version | grep -E 'version\s*[.0-9]+' \ && symfony --version | grep -E 'version\s*[.0-9]+' \
&& webpack --version | grep -E '[.0-9]+' \ && webpack --version | grep -E '[.0-9]+' \

View File

@@ -46,6 +46,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -62,6 +63,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -72,8 +75,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \
@@ -95,6 +102,10 @@ RUN set -x \
RUN set -x \ RUN set -x \
# composer # composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# awesomeci # awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \ && git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \ && cd /usr/local/src/awesome-ci \
@@ -209,6 +220,10 @@ RUN set -x \
&& curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
\ \
# phpunit
&& curl -qL https://phar.phpunit.de/phpunit-4.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
\
# photon # photon
&& COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \ && COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \
&& ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \ && ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \
@@ -282,6 +297,7 @@ RUN set -x \
RUN set -x \ RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \ && composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& mdl --version | grep -E '[.0-9]+' \ && mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \ && scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \ && eslint -v | grep -E '[.0-9]+' \
@@ -300,6 +316,7 @@ RUN set -x \
&& phalcon commands | grep -E '[.0-9]+' \ && phalcon commands | grep -E '[.0-9]+' \
&& phpcs --version | grep -E 'version [.0-9]+' \ && phpcs --version | grep -E 'version [.0-9]+' \
&& phpcbf --version | grep -E 'version [.0-9]+' \ && phpcbf --version | grep -E 'version [.0-9]+' \
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
&& photon --version | grep -E 'Installer [.0-9]+' \ && photon --version | grep -E 'Installer [.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \ && sass --version | grep -E '[.0-9]+' \
&& symfony --version | grep -E 'version\s*[.0-9]+' \ && symfony --version | grep -E 'version\s*[.0-9]+' \

View File

@@ -46,6 +46,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -62,6 +63,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -72,8 +75,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \
@@ -95,6 +102,10 @@ RUN set -x \
RUN set -x \ RUN set -x \
# composer # composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# awesomeci # awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \ && git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \ && cd /usr/local/src/awesome-ci \
@@ -209,6 +220,10 @@ RUN set -x \
&& curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
\ \
# phpunit
&& curl -qL https://phar.phpunit.de/phpunit-5.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
\
# photon # photon
&& COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \ && COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \
&& ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \ && ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \
@@ -282,6 +297,7 @@ RUN set -x \
RUN set -x \ RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \ && composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& mdl --version | grep -E '[.0-9]+' \ && mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \ && scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \ && eslint -v | grep -E '[.0-9]+' \
@@ -300,6 +316,7 @@ RUN set -x \
&& phalcon commands | grep -E '[.0-9]+' \ && phalcon commands | grep -E '[.0-9]+' \
&& phpcs --version | grep -E 'version [.0-9]+' \ && phpcs --version | grep -E 'version [.0-9]+' \
&& phpcbf --version | grep -E 'version [.0-9]+' \ && phpcbf --version | grep -E 'version [.0-9]+' \
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
&& photon --version | grep -E 'Installer [.0-9]+' \ && photon --version | grep -E 'Installer [.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \ && sass --version | grep -E '[.0-9]+' \
&& symfony --version | grep -E 'version\s*[.0-9]+' \ && symfony --version | grep -E 'version\s*[.0-9]+' \

View File

@@ -46,6 +46,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -62,6 +63,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -72,8 +75,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \
@@ -95,6 +102,10 @@ RUN set -x \
RUN set -x \ RUN set -x \
# composer # composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# awesomeci # awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \ && git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \ && cd /usr/local/src/awesome-ci \
@@ -209,6 +220,10 @@ RUN set -x \
&& curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
\ \
# phpunit
&& curl -qL https://phar.phpunit.de/phpunit-6.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
\
# photon # photon
&& COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \ && COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \
&& ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \ && ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \
@@ -282,6 +297,7 @@ RUN set -x \
RUN set -x \ RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \ && composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& mdl --version | grep -E '[.0-9]+' \ && mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \ && scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \ && eslint -v | grep -E '[.0-9]+' \
@@ -300,6 +316,7 @@ RUN set -x \
&& phalcon commands | grep -E '[.0-9]+' \ && phalcon commands | grep -E '[.0-9]+' \
&& phpcs --version | grep -E 'version [.0-9]+' \ && phpcs --version | grep -E 'version [.0-9]+' \
&& phpcbf --version | grep -E 'version [.0-9]+' \ && phpcbf --version | grep -E 'version [.0-9]+' \
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
&& photon --version | grep -E 'Installer [.0-9]+' \ && photon --version | grep -E 'Installer [.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \ && sass --version | grep -E '[.0-9]+' \
&& symfony --version | grep -E 'version\s*[.0-9]+' \ && symfony --version | grep -E 'version\s*[.0-9]+' \

View File

@@ -46,6 +46,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -62,6 +63,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -72,8 +75,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \
@@ -95,6 +102,10 @@ RUN set -x \
RUN set -x \ RUN set -x \
# composer # composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# awesomeci # awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \ && git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \ && cd /usr/local/src/awesome-ci \
@@ -209,6 +220,10 @@ RUN set -x \
&& curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
\ \
# phpunit
&& curl -qL https://phar.phpunit.de/phpunit-7.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
\
# photon # photon
&& COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \ && COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \
&& ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \ && ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \
@@ -282,6 +297,7 @@ RUN set -x \
RUN set -x \ RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \ && composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& mdl --version | grep -E '[.0-9]+' \ && mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \ && scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \ && eslint -v | grep -E '[.0-9]+' \
@@ -300,6 +316,7 @@ RUN set -x \
&& phalcon commands | grep -E '[.0-9]+' \ && phalcon commands | grep -E '[.0-9]+' \
&& phpcs --version | grep -E 'version [.0-9]+' \ && phpcs --version | grep -E 'version [.0-9]+' \
&& phpcbf --version | grep -E 'version [.0-9]+' \ && phpcbf --version | grep -E 'version [.0-9]+' \
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
&& photon --version | grep -E 'Installer [.0-9]+' \ && photon --version | grep -E 'Installer [.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \ && sass --version | grep -E '[.0-9]+' \
&& symfony --version | grep -E 'version\s*[.0-9]+' \ && symfony --version | grep -E 'version\s*[.0-9]+' \

View File

@@ -46,6 +46,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -62,6 +63,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -72,8 +75,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \
@@ -95,6 +102,10 @@ RUN set -x \
RUN set -x \ RUN set -x \
# composer # composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# awesomeci # awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \ && git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \ && cd /usr/local/src/awesome-ci \
@@ -209,6 +220,10 @@ RUN set -x \
&& curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
\ \
# phpunit
&& curl -qL https://phar.phpunit.de/phpunit-7.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
\
# photon # photon
&& COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \ && COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \
&& ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \ && ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \
@@ -282,6 +297,7 @@ RUN set -x \
RUN set -x \ RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \ && composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& mdl --version | grep -E '[.0-9]+' \ && mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \ && scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \ && eslint -v | grep -E '[.0-9]+' \
@@ -300,6 +316,7 @@ RUN set -x \
&& phalcon commands | grep -E '[.0-9]+' \ && phalcon commands | grep -E '[.0-9]+' \
&& phpcs --version | grep -E 'version [.0-9]+' \ && phpcs --version | grep -E 'version [.0-9]+' \
&& phpcbf --version | grep -E 'version [.0-9]+' \ && phpcbf --version | grep -E 'version [.0-9]+' \
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
&& photon --version | grep -E 'Installer [.0-9]+' \ && photon --version | grep -E 'Installer [.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \ && sass --version | grep -E '[.0-9]+' \
&& symfony --version | grep -E 'version\s*[.0-9]+' \ && symfony --version | grep -E 'version\s*[.0-9]+' \

View File

@@ -46,6 +46,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -62,6 +63,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -72,8 +75,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \
@@ -95,6 +102,10 @@ RUN set -x \
RUN set -x \ RUN set -x \
# composer # composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
# ansible
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# awesomeci # awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \ && git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \ && cd /usr/local/src/awesome-ci \
@@ -198,6 +209,10 @@ RUN set -x \
&& curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
\ \
# phpunit
&& curl -qL https://phar.phpunit.de/phpunit-7.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
\
# photon # photon
&& COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \ && COMPOSER_HOME="/usr/local/src/composer" composer global require "photoncms/installer" \
&& ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \ && ln -s /usr/local/src/composer/vendor/photoncms/installer/photon /usr/local/bin/photon \
@@ -271,6 +286,7 @@ RUN set -x \
RUN set -x \ RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \ && composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& mdl --version | grep -E '[.0-9]+' \ && mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \ && scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \ && eslint -v | grep -E '[.0-9]+' \
@@ -288,6 +304,7 @@ RUN set -x \
&& mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \ && mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
&& phpcs --version | grep -E 'version [.0-9]+' \ && phpcs --version | grep -E 'version [.0-9]+' \
&& phpcbf --version | grep -E 'version [.0-9]+' \ && phpcbf --version | grep -E 'version [.0-9]+' \
&& phpunit --version | grep -iE '^PHPUnit\s[.0-9]+' \
&& photon --version | grep -E 'Installer [.0-9]+' \ && photon --version | grep -E 'Installer [.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \ && sass --version | grep -E '[.0-9]+' \
&& symfony --version | grep -E 'version\s*[.0-9]+' \ && symfony --version | grep -E 'version\s*[.0-9]+' \

View File

@@ -61,6 +61,7 @@ RUN set -x \
autoconf \ autoconf \
automake \ automake \
bash-completion \ bash-completion \
build-essential \
bzip2 \ bzip2 \
coreutils \ coreutils \
curl \ curl \
@@ -77,6 +78,8 @@ RUN set -x \
iputils-ping \ iputils-ping \
less \ less \
libc-dev \ libc-dev \
libffi-dev\
libssl-dev\
make \ make \
mongodb-org-shell \ mongodb-org-shell \
mongodb-org-tools \ mongodb-org-tools \
@@ -87,8 +90,12 @@ RUN set -x \
netcat \ netcat \
nodejs \ nodejs \
openssh-client \ openssh-client \
patch \
postgresql-client \ postgresql-client \
python-cffi \
python-dev \
python-pip \ python-pip \
python-wheel \
redis-tools \ redis-tools \
rubygems \ rubygems \
ruby-dev \ ruby-dev \

View File

@@ -57,6 +57,7 @@ software_enabled:
# Composer needs to be first, others rely on it # Composer needs to be first, others rely on it
- composer - composer
# Normal packages start here # Normal packages start here
- ansible
- awesomeci - awesomeci
- codeception - codeception
- drush - drush
@@ -70,6 +71,7 @@ software_enabled:
- phalcon - phalcon
- phpcs - phpcs
- phpcbf - phpcbf
- phpunit
- photon - photon
- sass - sass
- symfony - symfony
@@ -145,6 +147,12 @@ apt_repositories_available:
# pre: [optional] Run command after 'command:' statement # pre: [optional] Run command after 'command:' statement
# #
software_available: software_available:
ansible:
check: ansible --version | grep -E '^ansible [.0-9]+$'
all:
command: |
pip install --upgrade setuptools \
&& pip install ansible \
awesomeci: awesomeci:
check: | check: |
mdl --version | grep -E '[.0-9]+' \ mdl --version | grep -E '[.0-9]+' \
@@ -351,6 +359,32 @@ software_available:
command: | command: |
curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \ curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
&& chmod +x /usr/local/bin/phpcbf \ && chmod +x /usr/local/bin/phpcbf \
phpunit:
check: phpunit --version | grep -iE '^PHPUnit\s[.0-9]+'
5.3:
command: |
curl -qL https://phar.phpunit.de/phpunit-4.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
5.4:
command: |
curl -qL https://phar.phpunit.de/phpunit-4.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
5.5:
command: |
curl -qL https://phar.phpunit.de/phpunit-4.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
5.6:
command: |
curl -qL https://phar.phpunit.de/phpunit-5.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
7.0:
command: |
curl -qL https://phar.phpunit.de/phpunit-6.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
all:
command: |
curl -qL https://phar.phpunit.de/phpunit-7.phar > /usr/local/bin/phpunit 2>/dev/null \
&& chmod +x /usr/local/bin/phpunit \
photon: photon:
check: photon --version | grep -E 'Installer [.0-9]+' check: photon --version | grep -E 'Installer [.0-9]+'
disabled: [5.3, 5.4] disabled: [5.3, 5.4]