mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-12 12:01:14 +00:00
Compare commits
31 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8342c1e20f | ||
|
|
c991494dee | ||
|
|
64f9fb510b | ||
|
|
34d87faa62 | ||
|
|
49fb3c44dc | ||
|
|
7147549e97 | ||
|
|
78227bf2ee | ||
|
|
5c1ae24dd7 | ||
|
|
b57a7c1a24 | ||
|
|
c0bd7e32b8 | ||
|
|
4c856c6d67 | ||
|
|
68417da37f | ||
|
|
fd255f1f9a | ||
|
|
e285134ad3 | ||
|
|
53cc3c5cc9 | ||
|
|
00d2e41de8 | ||
|
|
4afe6ab397 | ||
|
|
c427f37fba | ||
|
|
ea68f8e37a | ||
|
|
d5d07d0620 | ||
|
|
cfc06a1458 | ||
|
|
92eceb9ae9 | ||
|
|
796195dfdc | ||
|
|
3c17b4d3c1 | ||
|
|
b79e4b5b1b | ||
|
|
d82a529955 | ||
|
|
c41d30c92f | ||
|
|
3ffa64ad3a | ||
|
|
3a901f1699 | ||
|
|
e4c9e70957 | ||
|
|
619af1207d |
@@ -60,6 +60,7 @@ ENV BUILD_DEPS \
|
|||||||
libssl-dev \
|
libssl-dev \
|
||||||
libpspell-dev \
|
libpspell-dev \
|
||||||
librecode-dev \
|
librecode-dev \
|
||||||
|
librdkafka-dev \
|
||||||
libmm-dev \
|
libmm-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@@ -100,6 +101,7 @@ ENV RUN_DEPS \
|
|||||||
libpq5 \
|
libpq5 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
librecode0 \
|
librecode0 \
|
||||||
|
librdkafka1 \
|
||||||
snmp \
|
snmp \
|
||||||
libnghttp2-5 \
|
libnghttp2-5 \
|
||||||
libtidy-0.99-0 \
|
libtidy-0.99-0 \
|
||||||
@@ -202,6 +204,8 @@ RUN set -x \
|
|||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install rdkafka \
|
||||||
|
&& docker-php-ext-enable rdkafka \
|
||||||
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
||||||
@@ -357,6 +361,8 @@ RUN set -x \
|
|||||||
&& php-fpm -m | grep -oiE '^recode$' \
|
&& php-fpm -m | grep -oiE '^recode$' \
|
||||||
&& php -m | grep -oiE '^redis$' \
|
&& php -m | grep -oiE '^redis$' \
|
||||||
&& php-fpm -m | grep -oiE '^redis$' \
|
&& php-fpm -m | grep -oiE '^redis$' \
|
||||||
|
&& php -m | grep -oiE '^rdkafka$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^rdkafka$' \
|
||||||
&& php -m | grep -oiE '^session$' \
|
&& php -m | grep -oiE '^session$' \
|
||||||
&& php-fpm -m | grep -oiE '^session$' \
|
&& php-fpm -m | grep -oiE '^session$' \
|
||||||
&& php -m | grep -oiE '^shmop$' \
|
&& php -m | grep -oiE '^shmop$' \
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ ENV BUILD_DEPS \
|
|||||||
libssl-dev \
|
libssl-dev \
|
||||||
libpspell-dev \
|
libpspell-dev \
|
||||||
librecode-dev \
|
librecode-dev \
|
||||||
|
librdkafka-dev \
|
||||||
libmm-dev \
|
libmm-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@@ -100,6 +101,7 @@ ENV RUN_DEPS \
|
|||||||
libpq5 \
|
libpq5 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
librecode0 \
|
librecode0 \
|
||||||
|
librdkafka1 \
|
||||||
snmp \
|
snmp \
|
||||||
libnghttp2-5 \
|
libnghttp2-5 \
|
||||||
libtidy-0.99-0 \
|
libtidy-0.99-0 \
|
||||||
@@ -202,6 +204,8 @@ RUN set -x \
|
|||||||
&& /usr/local/bin/docker-php-ext-install recode \
|
&& /usr/local/bin/docker-php-ext-install recode \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install rdkafka \
|
||||||
|
&& docker-php-ext-enable rdkafka \
|
||||||
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
||||||
&& /usr/local/bin/docker-php-ext-install session \
|
&& /usr/local/bin/docker-php-ext-install session \
|
||||||
&& /usr/local/bin/docker-php-ext-install shmop \
|
&& /usr/local/bin/docker-php-ext-install shmop \
|
||||||
@@ -357,6 +361,8 @@ RUN set -x \
|
|||||||
&& php-fpm -m | grep -oiE '^recode$' \
|
&& php-fpm -m | grep -oiE '^recode$' \
|
||||||
&& php -m | grep -oiE '^redis$' \
|
&& php -m | grep -oiE '^redis$' \
|
||||||
&& php-fpm -m | grep -oiE '^redis$' \
|
&& php-fpm -m | grep -oiE '^redis$' \
|
||||||
|
&& php -m | grep -oiE '^rdkafka$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^rdkafka$' \
|
||||||
&& php -m | grep -oiE '^session$' \
|
&& php -m | grep -oiE '^session$' \
|
||||||
&& php-fpm -m | grep -oiE '^session$' \
|
&& php-fpm -m | grep -oiE '^session$' \
|
||||||
&& php -m | grep -oiE '^shmop$' \
|
&& php -m | grep -oiE '^shmop$' \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ ENV BUILD_DEPS \
|
|||||||
libedit-dev \
|
libedit-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
librecode-dev \
|
librecode-dev \
|
||||||
|
librdkafka-dev \
|
||||||
libmm-dev \
|
libmm-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@@ -102,6 +103,7 @@ ENV RUN_DEPS \
|
|||||||
libpq5 \
|
libpq5 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
librecode0 \
|
librecode0 \
|
||||||
|
librdkafka1 \
|
||||||
snmp \
|
snmp \
|
||||||
libnghttp2-5 \
|
libnghttp2-5 \
|
||||||
libtidy-0.99-0 \
|
libtidy-0.99-0 \
|
||||||
@@ -204,6 +206,8 @@ RUN set -x \
|
|||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install rdkafka \
|
||||||
|
&& docker-php-ext-enable rdkafka \
|
||||||
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
||||||
@@ -361,6 +365,8 @@ RUN set -x \
|
|||||||
&& php-fpm -m | grep -oiE '^recode$' \
|
&& php-fpm -m | grep -oiE '^recode$' \
|
||||||
&& php -m | grep -oiE '^redis$' \
|
&& php -m | grep -oiE '^redis$' \
|
||||||
&& php-fpm -m | grep -oiE '^redis$' \
|
&& php-fpm -m | grep -oiE '^redis$' \
|
||||||
|
&& php -m | grep -oiE '^rdkafka$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^rdkafka$' \
|
||||||
&& php -m | grep -oiE '^session$' \
|
&& php -m | grep -oiE '^session$' \
|
||||||
&& php-fpm -m | grep -oiE '^session$' \
|
&& php-fpm -m | grep -oiE '^session$' \
|
||||||
&& php -m | grep -oiE '^shmop$' \
|
&& php -m | grep -oiE '^shmop$' \
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ ENV BUILD_DEPS \
|
|||||||
libedit-dev \
|
libedit-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
librecode-dev \
|
librecode-dev \
|
||||||
|
librdkafka-dev \
|
||||||
libmm-dev \
|
libmm-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@@ -104,6 +105,7 @@ ENV RUN_DEPS \
|
|||||||
libpq5 \
|
libpq5 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
librecode0 \
|
librecode0 \
|
||||||
|
librdkafka1 \
|
||||||
snmp \
|
snmp \
|
||||||
libnghttp2-14 \
|
libnghttp2-14 \
|
||||||
libtidy5 \
|
libtidy5 \
|
||||||
@@ -206,6 +208,8 @@ RUN set -x \
|
|||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install rdkafka \
|
||||||
|
&& docker-php-ext-enable rdkafka \
|
||||||
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
||||||
@@ -361,6 +365,8 @@ RUN set -x \
|
|||||||
&& php-fpm -m | grep -oiE '^recode$' \
|
&& php-fpm -m | grep -oiE '^recode$' \
|
||||||
&& php -m | grep -oiE '^redis$' \
|
&& php -m | grep -oiE '^redis$' \
|
||||||
&& php-fpm -m | grep -oiE '^redis$' \
|
&& php-fpm -m | grep -oiE '^redis$' \
|
||||||
|
&& php -m | grep -oiE '^rdkafka$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^rdkafka$' \
|
||||||
&& php -m | grep -oiE '^session$' \
|
&& php -m | grep -oiE '^session$' \
|
||||||
&& php-fpm -m | grep -oiE '^session$' \
|
&& php-fpm -m | grep -oiE '^session$' \
|
||||||
&& php -m | grep -oiE '^shmop$' \
|
&& php -m | grep -oiE '^shmop$' \
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ ENV BUILD_DEPS \
|
|||||||
libedit-dev \
|
libedit-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
librecode-dev \
|
librecode-dev \
|
||||||
|
librdkafka-dev \
|
||||||
libmm-dev \
|
libmm-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@@ -101,6 +102,7 @@ ENV RUN_DEPS \
|
|||||||
libpq5 \
|
libpq5 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
librecode0 \
|
librecode0 \
|
||||||
|
librdkafka1 \
|
||||||
snmp \
|
snmp \
|
||||||
libnghttp2-14 \
|
libnghttp2-14 \
|
||||||
libtidy5 \
|
libtidy5 \
|
||||||
@@ -205,6 +207,8 @@ RUN set -x \
|
|||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install rdkafka \
|
||||||
|
&& docker-php-ext-enable rdkafka \
|
||||||
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
||||||
@@ -358,6 +362,8 @@ RUN set -x \
|
|||||||
&& php-fpm -m | grep -oiE '^recode$' \
|
&& php-fpm -m | grep -oiE '^recode$' \
|
||||||
&& php -m | grep -oiE '^redis$' \
|
&& php -m | grep -oiE '^redis$' \
|
||||||
&& php-fpm -m | grep -oiE '^redis$' \
|
&& php-fpm -m | grep -oiE '^redis$' \
|
||||||
|
&& php -m | grep -oiE '^rdkafka$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^rdkafka$' \
|
||||||
&& php -m | grep -oiE '^session$' \
|
&& php -m | grep -oiE '^session$' \
|
||||||
&& php-fpm -m | grep -oiE '^session$' \
|
&& php-fpm -m | grep -oiE '^session$' \
|
||||||
&& php -m | grep -oiE '^shmop$' \
|
&& php -m | grep -oiE '^shmop$' \
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ ENV BUILD_DEPS \
|
|||||||
libedit-dev \
|
libedit-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
librecode-dev \
|
librecode-dev \
|
||||||
|
librdkafka-dev \
|
||||||
libmm-dev \
|
libmm-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@@ -101,6 +102,7 @@ ENV RUN_DEPS \
|
|||||||
libpq5 \
|
libpq5 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
librecode0 \
|
librecode0 \
|
||||||
|
librdkafka1 \
|
||||||
snmp \
|
snmp \
|
||||||
libnghttp2-14 \
|
libnghttp2-14 \
|
||||||
libtidy5 \
|
libtidy5 \
|
||||||
@@ -207,6 +209,8 @@ RUN set -x \
|
|||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install rdkafka \
|
||||||
|
&& docker-php-ext-enable rdkafka \
|
||||||
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
||||||
@@ -364,6 +368,8 @@ RUN set -x \
|
|||||||
&& php-fpm -m | grep -oiE '^recode$' \
|
&& php-fpm -m | grep -oiE '^recode$' \
|
||||||
&& php -m | grep -oiE '^redis$' \
|
&& php -m | grep -oiE '^redis$' \
|
||||||
&& php-fpm -m | grep -oiE '^redis$' \
|
&& php-fpm -m | grep -oiE '^redis$' \
|
||||||
|
&& php -m | grep -oiE '^rdkafka$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^rdkafka$' \
|
||||||
&& php -m | grep -oiE '^session$' \
|
&& php -m | grep -oiE '^session$' \
|
||||||
&& php-fpm -m | grep -oiE '^session$' \
|
&& php-fpm -m | grep -oiE '^session$' \
|
||||||
&& php -m | grep -oiE '^shmop$' \
|
&& php -m | grep -oiE '^shmop$' \
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ ENV BUILD_DEPS \
|
|||||||
libedit-dev \
|
libedit-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
librecode-dev \
|
librecode-dev \
|
||||||
|
librdkafka-dev \
|
||||||
libmm-dev \
|
libmm-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@@ -102,6 +103,7 @@ ENV RUN_DEPS \
|
|||||||
libpq5 \
|
libpq5 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
librecode0 \
|
librecode0 \
|
||||||
|
librdkafka1 \
|
||||||
snmp \
|
snmp \
|
||||||
libnghttp2-14 \
|
libnghttp2-14 \
|
||||||
libtidy5 \
|
libtidy5 \
|
||||||
@@ -209,6 +211,8 @@ RUN set -x \
|
|||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install rdkafka \
|
||||||
|
&& docker-php-ext-enable rdkafka \
|
||||||
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
||||||
@@ -367,6 +371,8 @@ RUN set -x \
|
|||||||
&& php-fpm -m | grep -oiE '^recode$' \
|
&& php-fpm -m | grep -oiE '^recode$' \
|
||||||
&& php -m | grep -oiE '^redis$' \
|
&& php -m | grep -oiE '^redis$' \
|
||||||
&& php-fpm -m | grep -oiE '^redis$' \
|
&& php-fpm -m | grep -oiE '^redis$' \
|
||||||
|
&& php -m | grep -oiE '^rdkafka$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^rdkafka$' \
|
||||||
&& php -m | grep -oiE '^session$' \
|
&& php -m | grep -oiE '^session$' \
|
||||||
&& php-fpm -m | grep -oiE '^session$' \
|
&& php-fpm -m | grep -oiE '^session$' \
|
||||||
&& php -m | grep -oiE '^shmop$' \
|
&& php -m | grep -oiE '^shmop$' \
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ ENV BUILD_DEPS \
|
|||||||
libedit-dev \
|
libedit-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
librecode-dev \
|
librecode-dev \
|
||||||
|
librdkafka-dev \
|
||||||
libmm-dev \
|
libmm-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
@@ -101,6 +102,7 @@ ENV RUN_DEPS \
|
|||||||
libpq5 \
|
libpq5 \
|
||||||
libaspell15 \
|
libaspell15 \
|
||||||
librecode0 \
|
librecode0 \
|
||||||
|
librdkafka1 \
|
||||||
snmp \
|
snmp \
|
||||||
libnghttp2-14 \
|
libnghttp2-14 \
|
||||||
libhiredis0.13 \
|
libhiredis0.13 \
|
||||||
@@ -184,6 +186,8 @@ RUN set -x \
|
|||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \
|
||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
|
&& pecl install rdkafka \
|
||||||
|
&& docker-php-ext-enable rdkafka \
|
||||||
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
&& /usr/local/bin/docker-php-ext-configure session --with-mm \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) session \
|
||||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \
|
||||||
@@ -366,6 +370,8 @@ RUN set -x \
|
|||||||
&& php-fpm -m | grep -oiE '^recode$' \
|
&& php-fpm -m | grep -oiE '^recode$' \
|
||||||
&& php -m | grep -oiE '^redis$' \
|
&& php -m | grep -oiE '^redis$' \
|
||||||
&& php-fpm -m | grep -oiE '^redis$' \
|
&& php-fpm -m | grep -oiE '^redis$' \
|
||||||
|
&& php -m | grep -oiE '^rdkafka$' \
|
||||||
|
&& php-fpm -m | grep -oiE '^rdkafka$' \
|
||||||
&& php -m | grep -oiE '^session$' \
|
&& php -m | grep -oiE '^session$' \
|
||||||
&& php-fpm -m | grep -oiE '^session$' \
|
&& php-fpm -m | grep -oiE '^session$' \
|
||||||
&& php -m | grep -oiE '^shmop$' \
|
&& php -m | grep -oiE '^shmop$' \
|
||||||
|
|||||||
@@ -69,6 +69,9 @@ set_postfix() {
|
|||||||
run "chown ${username}:${groupname} /var/mail" "${debug}"
|
run "chown ${username}:${groupname} /var/mail" "${debug}"
|
||||||
run "chown ${username}:${groupname} /var/mail/${username}" "${debug}"
|
run "chown ${username}:${groupname} /var/mail/${username}" "${debug}"
|
||||||
|
|
||||||
|
# warning: specify "strict_mailbox_ownership = no" to ignore mailbox ownership mismatch
|
||||||
|
run "postconf -e 'strict_mailbox_ownership=no'" "${debug}"
|
||||||
|
|
||||||
# Postfix configuration
|
# Postfix configuration
|
||||||
run "postconf -e 'inet_protocols=ipv4'" "${debug}"
|
run "postconf -e 'inet_protocols=ipv4'" "${debug}"
|
||||||
run "postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual'" "${debug}"
|
run "postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual'" "${debug}"
|
||||||
|
|||||||
@@ -27,10 +27,11 @@ enable_modules() {
|
|||||||
|
|
||||||
if [ -z "${mods}" ]; then
|
if [ -z "${mods}" ]; then
|
||||||
log "info" "\$${mod_varname} set, but empty. Not enabling any PHP modules." "${debug}"
|
log "info" "\$${mod_varname} set, but empty. Not enabling any PHP modules." "${debug}"
|
||||||
else
|
return 0
|
||||||
log "info" "Enabling the following PHP modules: ${mods}" "${debug}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
log "info" "Enabling the following PHP modules: ${mods}" "${debug}"
|
||||||
|
|
||||||
while read -r mod; do
|
while read -r mod; do
|
||||||
mod="$( echo "${mod}" | xargs )" # trim
|
mod="$( echo "${mod}" | xargs )" # trim
|
||||||
|
|
||||||
|
|||||||
@@ -24,10 +24,11 @@ disable_modules() {
|
|||||||
|
|
||||||
if [ -z "${mods}" ]; then
|
if [ -z "${mods}" ]; then
|
||||||
log "info" "\$${mod_varname} set, but empty. Not disabling any PHP modules." "${debug}"
|
log "info" "\$${mod_varname} set, but empty. Not disabling any PHP modules." "${debug}"
|
||||||
else
|
return 0
|
||||||
log "info" "Disabling the following PHP modules: ${mods}" "${debug}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
log "info" "Disabling the following PHP modules: ${mods}" "${debug}"
|
||||||
|
|
||||||
while read -r mod; do
|
while read -r mod; do
|
||||||
mod="$( echo "${mod}" | xargs )" # trim
|
mod="$( echo "${mod}" | xargs )" # trim
|
||||||
|
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -149,7 +154,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -128,19 +133,19 @@ RUN set -x \
|
|||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# drush
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
&& cd /usr/local/src/drush \
|
&& cd /usr/local/src/drush7 \
|
||||||
&& git checkout 7.4.0 \
|
&& git checkout 7.4.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
\
|
\
|
||||||
# gitflow
|
# gitflow
|
||||||
&& git clone git://github.com/petervanderdoes/gitflow.git /tmp/gitflow \
|
&& git clone git://github.com/petervanderdoes/gitflow.git /tmp/gitflow \
|
||||||
@@ -169,7 +174,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -221,7 +226,7 @@ RUN set -x \
|
|||||||
# webpack
|
# webpack
|
||||||
&& npm install -g webpack webpack-cli \
|
&& npm install -g webpack webpack-cli \
|
||||||
# wpcli
|
# wpcli
|
||||||
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
|
&& curl https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar -L -o /usr/local/bin/wp \
|
||||||
&& chmod +x /usr/local/bin/wp \
|
&& chmod +x /usr/local/bin/wp \
|
||||||
# yamllint
|
# yamllint
|
||||||
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
|
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
|
||||||
@@ -291,7 +296,7 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
||||||
&& drush --version | grep -E '[.0-9]+' \
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[.0-9]+' \
|
||||||
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
&& linkcheck --version | grep -E '^linkcheck\sv[.0-9]+' \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -128,19 +133,36 @@ RUN set -x \
|
|||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# drush
|
# deployer
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& cd /usr/local/src/drush \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep ^8 | tail -1) \
|
# drush7
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
&& cd /usr/local/src/drush7 \
|
||||||
|
&& git checkout 7.4.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
|
\
|
||||||
|
# drush8
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8 \
|
||||||
|
&& cd /usr/local/src/drush8 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/8[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush8 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush8 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8 \
|
||||||
|
&& rm -rf /usr/local/src/drush8/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush8/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush8/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush8/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush8/tests \
|
||||||
\
|
\
|
||||||
# gitflow
|
# gitflow
|
||||||
&& git clone git://github.com/petervanderdoes/gitflow.git /tmp/gitflow \
|
&& git clone git://github.com/petervanderdoes/gitflow.git /tmp/gitflow \
|
||||||
@@ -179,7 +201,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -304,7 +326,9 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
||||||
&& drush --version | grep -E '[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
||||||
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[.0-9]+' \
|
||||||
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
&& laravel --version | grep -E '(Installer|version)\s*[.0-9]+' \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -107,6 +112,10 @@ RUN set -x \
|
|||||||
&& pip install --upgrade setuptools \
|
&& pip install --upgrade setuptools \
|
||||||
&& pip install ansible \
|
&& pip install ansible \
|
||||||
\
|
\
|
||||||
|
# asgardcms
|
||||||
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
||||||
|
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
|
||||||
|
\
|
||||||
# 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 \
|
||||||
@@ -128,19 +137,36 @@ RUN set -x \
|
|||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# drush
|
# deployer
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& cd /usr/local/src/drush \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep ^8 | tail -1) \
|
# drush7
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
&& cd /usr/local/src/drush7 \
|
||||||
|
&& git checkout 7.4.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
|
\
|
||||||
|
# drush8
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8 \
|
||||||
|
&& cd /usr/local/src/drush8 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/8[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush8 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush8 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8 \
|
||||||
|
&& rm -rf /usr/local/src/drush8/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush8/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush8/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush8/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush8/tests \
|
||||||
\
|
\
|
||||||
# drupalconsole
|
# drupalconsole
|
||||||
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
||||||
@@ -182,7 +208,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -303,6 +329,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]+$' \
|
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
||||||
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.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]+' \
|
||||||
@@ -311,7 +338,9 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
||||||
&& drush --version | grep -E '[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
||||||
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[.0-9]+' \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -107,6 +112,10 @@ RUN set -x \
|
|||||||
&& pip install --upgrade setuptools \
|
&& pip install --upgrade setuptools \
|
||||||
&& pip install ansible \
|
&& pip install ansible \
|
||||||
\
|
\
|
||||||
|
# asgardcms
|
||||||
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
||||||
|
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
|
||||||
|
\
|
||||||
# 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 \
|
||||||
@@ -128,19 +137,50 @@ RUN set -x \
|
|||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# drush
|
# deployer
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& cd /usr/local/src/drush \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
# drush7
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
&& cd /usr/local/src/drush7 \
|
||||||
|
&& git checkout 7.4.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
|
\
|
||||||
|
# drush8
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8 \
|
||||||
|
&& cd /usr/local/src/drush8 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/8[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush8 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush8 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8 \
|
||||||
|
&& rm -rf /usr/local/src/drush8/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush8/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush8/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush8/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush8/tests \
|
||||||
|
\
|
||||||
|
# drush9
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush9 \
|
||||||
|
&& cd /usr/local/src/drush9 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/9[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush9 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush9 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush9/drush /usr/local/bin/drush9 \
|
||||||
|
&& rm -rf /usr/local/src/drush9/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush9/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush9/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush9/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush9/tests \
|
||||||
\
|
\
|
||||||
# drupalconsole
|
# drupalconsole
|
||||||
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
||||||
@@ -182,7 +222,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -303,6 +343,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]+$' \
|
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
||||||
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.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]+' \
|
||||||
@@ -311,7 +352,10 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
||||||
&& drush --version | grep -E '[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
||||||
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[.0-9]+' \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -107,6 +112,10 @@ RUN set -x \
|
|||||||
&& pip install --upgrade setuptools \
|
&& pip install --upgrade setuptools \
|
||||||
&& pip install ansible \
|
&& pip install ansible \
|
||||||
\
|
\
|
||||||
|
# asgardcms
|
||||||
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
||||||
|
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
|
||||||
|
\
|
||||||
# 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 \
|
||||||
@@ -128,19 +137,50 @@ RUN set -x \
|
|||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# drush
|
# deployer
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& cd /usr/local/src/drush \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
# drush7
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
&& cd /usr/local/src/drush7 \
|
||||||
|
&& git checkout 7.4.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
|
\
|
||||||
|
# drush8
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8 \
|
||||||
|
&& cd /usr/local/src/drush8 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/8[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush8 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush8 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8 \
|
||||||
|
&& rm -rf /usr/local/src/drush8/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush8/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush8/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush8/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush8/tests \
|
||||||
|
\
|
||||||
|
# drush9
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush9 \
|
||||||
|
&& cd /usr/local/src/drush9 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/9[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush9 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush9 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush9/drush /usr/local/bin/drush9 \
|
||||||
|
&& rm -rf /usr/local/src/drush9/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush9/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush9/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush9/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush9/tests \
|
||||||
\
|
\
|
||||||
# drupalconsole
|
# drupalconsole
|
||||||
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
||||||
@@ -182,7 +222,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -303,6 +343,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]+$' \
|
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
||||||
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.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]+' \
|
||||||
@@ -311,7 +352,10 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
||||||
&& drush --version | grep -E '[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
||||||
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[.0-9]+' \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -107,6 +112,10 @@ RUN set -x \
|
|||||||
&& pip install --upgrade setuptools \
|
&& pip install --upgrade setuptools \
|
||||||
&& pip install ansible \
|
&& pip install ansible \
|
||||||
\
|
\
|
||||||
|
# asgardcms
|
||||||
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
||||||
|
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
|
||||||
|
\
|
||||||
# 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 \
|
||||||
@@ -128,19 +137,50 @@ RUN set -x \
|
|||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# drush
|
# deployer
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& cd /usr/local/src/drush \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
# drush7
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
&& cd /usr/local/src/drush7 \
|
||||||
|
&& git checkout 7.4.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
|
\
|
||||||
|
# drush8
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8 \
|
||||||
|
&& cd /usr/local/src/drush8 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/8[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush8 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush8 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8 \
|
||||||
|
&& rm -rf /usr/local/src/drush8/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush8/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush8/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush8/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush8/tests \
|
||||||
|
\
|
||||||
|
# drush9
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush9 \
|
||||||
|
&& cd /usr/local/src/drush9 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/9[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush9 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush9 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush9/drush /usr/local/bin/drush9 \
|
||||||
|
&& rm -rf /usr/local/src/drush9/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush9/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush9/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush9/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush9/tests \
|
||||||
\
|
\
|
||||||
# drupalconsole
|
# drupalconsole
|
||||||
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
||||||
@@ -182,7 +222,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -303,6 +343,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]+$' \
|
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
||||||
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.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]+' \
|
||||||
@@ -311,7 +352,10 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
||||||
&& drush --version | grep -E '[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
||||||
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[.0-9]+' \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -107,6 +112,10 @@ RUN set -x \
|
|||||||
&& pip install --upgrade setuptools \
|
&& pip install --upgrade setuptools \
|
||||||
&& pip install ansible \
|
&& pip install ansible \
|
||||||
\
|
\
|
||||||
|
# asgardcms
|
||||||
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
||||||
|
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
|
||||||
|
\
|
||||||
# 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 \
|
||||||
@@ -128,19 +137,50 @@ RUN set -x \
|
|||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# drush
|
# deployer
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& cd /usr/local/src/drush \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
# drush7
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
&& cd /usr/local/src/drush7 \
|
||||||
|
&& git checkout 7.4.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
|
\
|
||||||
|
# drush8
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8 \
|
||||||
|
&& cd /usr/local/src/drush8 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/8[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush8 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush8 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8 \
|
||||||
|
&& rm -rf /usr/local/src/drush8/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush8/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush8/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush8/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush8/tests \
|
||||||
|
\
|
||||||
|
# drush9
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush9 \
|
||||||
|
&& cd /usr/local/src/drush9 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/9[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush9 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush9 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush9/drush /usr/local/bin/drush9 \
|
||||||
|
&& rm -rf /usr/local/src/drush9/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush9/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush9/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush9/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush9/tests \
|
||||||
\
|
\
|
||||||
# drupalconsole
|
# drupalconsole
|
||||||
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
||||||
@@ -182,7 +222,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -303,6 +343,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]+$' \
|
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
||||||
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.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]+' \
|
||||||
@@ -311,7 +352,10 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
||||||
&& drush --version | grep -E '[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
||||||
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[.0-9]+' \
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -83,6 +84,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -90,12 +92,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@@ -107,6 +112,10 @@ RUN set -x \
|
|||||||
&& pip install --upgrade setuptools \
|
&& pip install --upgrade setuptools \
|
||||||
&& pip install ansible \
|
&& pip install ansible \
|
||||||
\
|
\
|
||||||
|
# asgardcms
|
||||||
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
|
||||||
|
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
|
||||||
|
\
|
||||||
# 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 \
|
||||||
@@ -128,19 +137,50 @@ RUN set -x \
|
|||||||
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception --dev \
|
||||||
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
&& ln -s /usr/local/src/composer/vendor/codeception/codeception/codecept /usr/local/bin/codecept \
|
||||||
\
|
\
|
||||||
# drush
|
# deployer
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& cd /usr/local/src/drush \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
# drush7
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
&& cd /usr/local/src/drush7 \
|
||||||
|
&& git checkout 7.4.0 \
|
||||||
\
|
\
|
||||||
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
|
\
|
||||||
|
# drush8
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8 \
|
||||||
|
&& cd /usr/local/src/drush8 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/8[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush8 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush8 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8 \
|
||||||
|
&& rm -rf /usr/local/src/drush8/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush8/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush8/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush8/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush8/tests \
|
||||||
|
\
|
||||||
|
# drush9
|
||||||
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush9 \
|
||||||
|
&& cd /usr/local/src/drush9 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/9[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
\
|
||||||
|
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush9 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush9 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush9/drush /usr/local/bin/drush9 \
|
||||||
|
&& rm -rf /usr/local/src/drush9/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush9/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush9/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush9/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush9/tests \
|
||||||
\
|
\
|
||||||
# drupalconsole
|
# drupalconsole
|
||||||
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
&& curl https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
|
||||||
@@ -182,7 +222,7 @@ RUN set -x \
|
|||||||
# mhsendmail
|
# mhsendmail
|
||||||
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
\
|
\
|
||||||
# mysqldumpsecure
|
# mysqldumpsecure
|
||||||
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
|
||||||
@@ -292,6 +332,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]+$' \
|
&& ansible --version | grep -E '^ansible [.0-9]+$' \
|
||||||
|
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.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,7 +341,10 @@ RUN set -x \
|
|||||||
&& gulp --version | grep -E '[.0-9]+' \
|
&& gulp --version | grep -E '[.0-9]+' \
|
||||||
\
|
\
|
||||||
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
&& codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$' \
|
||||||
&& drush --version | grep -E '[.0-9]+' \
|
&& dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+' \
|
||||||
|
&& drush7 --version | grep -E '7[.0-9]+\s*$' \
|
||||||
|
&& drush8 --version | grep -E '8[.0-9]+\s*$' \
|
||||||
|
&& drush9 --version | grep -E '9[.0-9]+\s*$' \
|
||||||
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
&& drupal --version | grep -E 'Drupal Console Launcher\s*[.0-9]' \
|
||||||
&& git-flow version | grep -E '[.0-9]+' \
|
&& git-flow version | grep -E '[.0-9]+' \
|
||||||
&& grunt --version | grep -E '[.0-9]+' \
|
&& grunt --version | grep -E '[.0-9]+' \
|
||||||
|
|||||||
18
Makefile
18
Makefile
@@ -319,23 +319,23 @@ rebuild-work-73:
|
|||||||
### Pull base FROM images
|
### Pull base FROM images
|
||||||
###
|
###
|
||||||
pull-from-52:
|
pull-from-52:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.2 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.2 | sed 's/^FROM\s*//g';)
|
||||||
pull-from-53:
|
pull-from-53:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.3 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.3 | sed 's/^FROM\s*//g';)
|
||||||
pull-from-54:
|
pull-from-54:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.4 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.4 | sed 's/^FROM\s*//g';)
|
||||||
pull-from-55:
|
pull-from-55:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.5 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.5 | sed 's/^FROM\s*//g';)
|
||||||
pull-from-56:
|
pull-from-56:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.6 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-5.6 | sed 's/^FROM\s*//g';)
|
||||||
pull-from-70:
|
pull-from-70:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-7.0 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-7.0 | sed 's/^FROM\s*//g';)
|
||||||
pull-from-71:
|
pull-from-71:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-7.1 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-7.1 | sed 's/^FROM\s*//g';)
|
||||||
pull-from-72:
|
pull-from-72:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-7.2 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-7.2 | sed 's/^FROM\s*//g';)
|
||||||
pull-from-73:
|
pull-from-73:
|
||||||
docker pull $(shell grep FROM $(location)/base/Dockerfile-7.3 | sed 's/^FROM//g'; done)
|
docker pull $(shell grep FROM $(location)/base/Dockerfile-7.3 | sed 's/^FROM\s*//g';)
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
24
README.md
24
README.md
@@ -503,42 +503,42 @@ Check out this table to see which Docker image provides what PHP modules.
|
|||||||
<tr>
|
<tr>
|
||||||
<th>5.3</th>
|
<th>5.3</th>
|
||||||
<td id="53-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, hash, iconv, json, libxml, mysql, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, recode, Reflection, session, SimpleXML, SPL, SQLite, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="53-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, hash, iconv, json, libxml, mysql, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, recode, Reflection, session, SimpleXML, SPL, SQLite, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="53-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, SQLite, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="53-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, SQLite, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>5.4</th>
|
<th>5.4</th>
|
||||||
<td id="54-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, hash, iconv, json, libxml, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, recode, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="54-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, hash, iconv, json, libxml, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, recode, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="54-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="54-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>5.5</th>
|
<th>5.5</th>
|
||||||
<td id="55-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="55-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="55-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="55-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>5.6</th>
|
<th>5.6</th>
|
||||||
<td id="56-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mhash, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="56-base">Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mhash, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="56-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mhash, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="56-mods">amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mhash, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>7.0</th>
|
<th>7.0</th>
|
||||||
<td id="70-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="70-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="70-mods">amqp, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="70-mods">amqp, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>7.1</th>
|
<th>7.1</th>
|
||||||
<td id="71-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="71-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="71-mods">amqp, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="71-mods">amqp, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>7.2</th>
|
<th>7.2</th>
|
||||||
<td id="72-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="72-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="72-mods">amqp, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="72-mods">amqp, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongodb, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>7.3</th>
|
<th>7.3</th>
|
||||||
<td id="73-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
<td id="73-base">Core, ctype, curl, date, dom, fileinfo, filter, ftp, hash, iconv, json, libxml, mbstring, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, Reflection, session, SimpleXML, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib</td>
|
||||||
<td id="73-mods">apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcached, mongodb, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
<td id="73-mods">apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcached, mongodb, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -822,6 +822,10 @@ You want to use tools such as `git`, `drush`, `composer`, `npm`, `eslint`, `phpc
|
|||||||
<td><a href="https://www.ansible.com/">Ansible</a></td>
|
<td><a href="https://www.ansible.com/">Ansible</a></td>
|
||||||
<td>Automation tool.</td>
|
<td>Automation tool.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://asgardcms.com/install">asgardcms</a></td>
|
||||||
|
<td>AsgardCMS cli installer.</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="https://github.com/cytopia/awesome-ci">awesome-ci</a></td>
|
<td><a href="https://github.com/cytopia/awesome-ci">awesome-ci</a></td>
|
||||||
<td>Various linting and source code analyzing tools.</td>
|
<td>Various linting and source code analyzing tools.</td>
|
||||||
@@ -834,6 +838,10 @@ You want to use tools such as `git`, `drush`, `composer`, `npm`, `eslint`, `phpc
|
|||||||
<td><a href="https://getcomposer.org">composer</a></td>
|
<td><a href="https://getcomposer.org">composer</a></td>
|
||||||
<td>Dependency Manager for PHP.</td>
|
<td>Dependency Manager for PHP.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://deployer.org/">deployer</a></td>
|
||||||
|
<td>Deployment tool for PHP.</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="https://drupalconsole.com">drupal-console</a></td>
|
<td><a href="https://drupalconsole.com">drupal-console</a></td>
|
||||||
<td>The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.</td>
|
<td>The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.</td>
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ RUN set -x \
|
|||||||
git \
|
git \
|
||||||
git-flow \
|
git-flow \
|
||||||
git-svn \
|
git-svn \
|
||||||
|
graphviz \
|
||||||
hostname \
|
hostname \
|
||||||
htop \
|
htop \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -98,6 +99,7 @@ RUN set -x \
|
|||||||
python-pip \
|
python-pip \
|
||||||
python-wheel \
|
python-wheel \
|
||||||
redis-tools \
|
redis-tools \
|
||||||
|
rsync \
|
||||||
rubygems \
|
rubygems \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
@@ -105,12 +107,15 @@ RUN set -x \
|
|||||||
subversion \
|
subversion \
|
||||||
sudo \
|
sudo \
|
||||||
tig \
|
tig \
|
||||||
|
tree \
|
||||||
|
unzip \
|
||||||
vim \
|
vim \
|
||||||
w3m \
|
w3m \
|
||||||
wget \
|
wget \
|
||||||
whois \
|
whois \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
yarn \
|
yarn \
|
||||||
|
zsh \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@@ -199,9 +199,13 @@ software_enabled:
|
|||||||
- composer
|
- composer
|
||||||
# Normal packages start here
|
# Normal packages start here
|
||||||
- ansible
|
- ansible
|
||||||
|
- asgardcms
|
||||||
- awesomeci
|
- awesomeci
|
||||||
- codeception
|
- codeception
|
||||||
- drush
|
- deployer
|
||||||
|
- drush7
|
||||||
|
- drush8
|
||||||
|
- drush9
|
||||||
- drupalconsole
|
- drupalconsole
|
||||||
- gitflow
|
- gitflow
|
||||||
- grunt
|
- grunt
|
||||||
@@ -288,6 +292,13 @@ apt_repositories_available:
|
|||||||
# pre: [optional] Run command after 'command:' statement
|
# pre: [optional] Run command after 'command:' statement
|
||||||
#
|
#
|
||||||
software_available:
|
software_available:
|
||||||
|
asgardcms:
|
||||||
|
disabled: [5.2, 5.3, 5.4]
|
||||||
|
check: asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+'
|
||||||
|
all:
|
||||||
|
command: |
|
||||||
|
COMPOSER_HOME="{{ compose_home }}" composer global require asgardcms/asgardcms-installer \
|
||||||
|
&& ln -s {{ compose_home }}/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
|
||||||
ansible:
|
ansible:
|
||||||
check: ansible --version | grep -E '^ansible [.0-9]+$'
|
check: ansible --version | grep -E '^ansible [.0-9]+$'
|
||||||
all:
|
all:
|
||||||
@@ -325,43 +336,63 @@ software_available:
|
|||||||
check: composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+'
|
check: composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+'
|
||||||
all:
|
all:
|
||||||
command: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
command: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
drush:
|
deployer:
|
||||||
|
disabled: [5.2, 5.3]
|
||||||
|
check: dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+'
|
||||||
|
all:
|
||||||
|
command: curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep
|
||||||
|
post: chmod +x /usr/local/bin/dep
|
||||||
|
drush7:
|
||||||
disabled: [5.2]
|
disabled: [5.2]
|
||||||
check: drush --version | grep -E '[.0-9]+'
|
check: drush7 --version | grep -E '7[.0-9]+\s*$'
|
||||||
5.2:
|
|
||||||
pre: |
|
|
||||||
git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
|
||||||
&& cd /usr/local/src/drush \
|
|
||||||
&& git checkout 7.4.0 \
|
|
||||||
5.3:
|
|
||||||
pre: |
|
|
||||||
git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
|
||||||
&& cd /usr/local/src/drush \
|
|
||||||
&& git checkout 7.4.0 \
|
|
||||||
5.4:
|
|
||||||
pre: |
|
|
||||||
git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
|
||||||
&& cd /usr/local/src/drush \
|
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep ^8 | tail -1) \
|
|
||||||
5.5:
|
|
||||||
pre: |
|
|
||||||
git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
|
||||||
&& cd /usr/local/src/drush \
|
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep ^8 | tail -1) \
|
|
||||||
all:
|
all:
|
||||||
pre: |
|
pre: |
|
||||||
git clone https://github.com/drush-ops/drush.git /usr/local/src/drush \
|
git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
&& cd /usr/local/src/drush \
|
&& cd /usr/local/src/drush7 \
|
||||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
&& git checkout 7.4.0 \
|
||||||
command: |
|
command: |
|
||||||
chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush \
|
chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush7 \
|
||||||
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush && composer install --no-interaction --no-progress' \
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush7 && composer install --no-interaction --no-progress' \
|
||||||
&& ln -s /usr/local/src/drush/drush /usr/local/bin/drush \
|
&& ln -s /usr/local/src/drush7/drush /usr/local/bin/drush7 \
|
||||||
&& rm -rf /usr/local/src/drush/.git \
|
&& rm -rf /usr/local/src/drush7/.git \
|
||||||
&& rm -rf /usr/local/src/drush/docs \
|
&& rm -rf /usr/local/src/drush7/docs \
|
||||||
&& rm -rf /usr/local/src/drush/examples \
|
&& rm -rf /usr/local/src/drush7/examples \
|
||||||
&& rm -rf /usr/local/src/drush/misc \
|
&& rm -rf /usr/local/src/drush7/misc \
|
||||||
&& rm -rf /usr/local/src/drush/tests \
|
&& rm -rf /usr/local/src/drush7/tests \
|
||||||
|
drush8:
|
||||||
|
disabled: [5.2, 5.3]
|
||||||
|
check: drush8 --version | grep -E '8[.0-9]+\s*$'
|
||||||
|
all:
|
||||||
|
pre: |
|
||||||
|
git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8 \
|
||||||
|
&& cd /usr/local/src/drush8 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/8[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
command: |
|
||||||
|
chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush8 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush8 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8 \
|
||||||
|
&& rm -rf /usr/local/src/drush8/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush8/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush8/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush8/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush8/tests \
|
||||||
|
drush9:
|
||||||
|
disabled: [5.2, 5.3, 5.4, 5.5]
|
||||||
|
check: drush9 --version | grep -E '9[.0-9]+\s*$'
|
||||||
|
all:
|
||||||
|
pre: |
|
||||||
|
git clone https://github.com/drush-ops/drush.git /usr/local/src/drush9 \
|
||||||
|
&& cd /usr/local/src/drush9 \
|
||||||
|
&& git checkout $( git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | grep -E 'tags/9[.0-9]+$' | tail -1 | sed 's|.*/||g' ) \
|
||||||
|
command: |
|
||||||
|
chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/drush9 \
|
||||||
|
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/drush9 && composer install --no-interaction --no-progress' \
|
||||||
|
&& ln -s /usr/local/src/drush9/drush /usr/local/bin/drush9 \
|
||||||
|
&& rm -rf /usr/local/src/drush9/.git \
|
||||||
|
&& rm -rf /usr/local/src/drush9/docs \
|
||||||
|
&& rm -rf /usr/local/src/drush9/examples \
|
||||||
|
&& rm -rf /usr/local/src/drush9/misc \
|
||||||
|
&& rm -rf /usr/local/src/drush9/tests \
|
||||||
codeception:
|
codeception:
|
||||||
disabled: [5.2]
|
disabled: [5.2]
|
||||||
check: codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$'
|
check: codecept --version 2>/dev/null | grep -E '^Codeception(\sversion)?\s[.0-9]+$'
|
||||||
@@ -445,7 +476,7 @@ software_available:
|
|||||||
command: |
|
command: |
|
||||||
wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
|
||||||
&& chmod +x mhsendmail_linux_amd64 \
|
&& chmod +x mhsendmail_linux_amd64 \
|
||||||
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
|
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
|
||||||
mysqldumpsecure:
|
mysqldumpsecure:
|
||||||
check: mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+'
|
check: mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+'
|
||||||
all:
|
all:
|
||||||
@@ -569,6 +600,9 @@ software_available:
|
|||||||
wpcli:
|
wpcli:
|
||||||
disabled: [5.2]
|
disabled: [5.2]
|
||||||
check: wp --allow-root --version | grep -E '[.0-9]+'
|
check: wp --allow-root --version | grep -E '[.0-9]+'
|
||||||
|
5.3:
|
||||||
|
command: curl https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar -L -o /usr/local/bin/wp
|
||||||
|
post: chmod +x /usr/local/bin/wp
|
||||||
all:
|
all:
|
||||||
command: curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp
|
command: curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp
|
||||||
post: chmod +x /usr/local/bin/wp
|
post: chmod +x /usr/local/bin/wp
|
||||||
@@ -675,6 +709,7 @@ extensions_enabled:
|
|||||||
- readline
|
- readline
|
||||||
- recode
|
- recode
|
||||||
- redis
|
- redis
|
||||||
|
- rdkafka
|
||||||
- session
|
- session
|
||||||
- shmop
|
- shmop
|
||||||
- simplexml
|
- simplexml
|
||||||
@@ -1177,6 +1212,12 @@ extensions_available:
|
|||||||
version: 2.2.7
|
version: 2.2.7
|
||||||
all:
|
all:
|
||||||
type: pecl
|
type: pecl
|
||||||
|
rdkafka:
|
||||||
|
disabled: [5.2]
|
||||||
|
all:
|
||||||
|
type: pecl
|
||||||
|
build_dep: [librdkafka-dev]
|
||||||
|
run_dep: [librdkafka1]
|
||||||
session:
|
session:
|
||||||
all:
|
all:
|
||||||
type: builtin
|
type: builtin
|
||||||
|
|||||||
Reference in New Issue
Block a user