mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-22 00:41:17 +00:00
Fix install of deployer for PHP < 7
This commit is contained in:
@@ -154,7 +154,7 @@ RUN set -x \
|
|||||||
&& 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 \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& 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 \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& 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 \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& 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 \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& 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 \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& 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 \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& 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 \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ RUN set -x \
|
|||||||
&& 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 \
|
||||||
\
|
\
|
||||||
# deployer
|
# deployer
|
||||||
&& curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
&& curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep \
|
||||||
&& chmod +x /usr/local/bin/dep \
|
&& chmod +x /usr/local/bin/dep \
|
||||||
# drush7
|
# drush7
|
||||||
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
&& git clone https://github.com/drush-ops/drush.git /usr/local/src/drush7 \
|
||||||
|
|||||||
@@ -355,8 +355,17 @@ software_available:
|
|||||||
deployer:
|
deployer:
|
||||||
disabled: [5.2, 5.3]
|
disabled: [5.2, 5.3]
|
||||||
check: dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+'
|
check: dep --version 2>/dev/null | grep -E 'Deployer\s*[.0-9]+'
|
||||||
|
5.4:
|
||||||
|
command: curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep
|
||||||
|
post: chmod +x /usr/local/bin/dep
|
||||||
|
5.5:
|
||||||
|
command: curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep
|
||||||
|
post: chmod +x /usr/local/bin/dep
|
||||||
|
5.6:
|
||||||
|
command: curl -sS https://deployer.org/releases/v4.3.4/deployer.phar -L -o /usr/local/bin/dep
|
||||||
|
post: chmod +x /usr/local/bin/dep
|
||||||
all:
|
all:
|
||||||
command: curl https://deployer.org/deployer.phar -L -o /usr/local/bin/dep
|
command: curl -sS https://deployer.org/deployer.phar -L -o /usr/local/bin/dep
|
||||||
post: chmod +x /usr/local/bin/dep
|
post: chmod +x /usr/local/bin/dep
|
||||||
drush7:
|
drush7:
|
||||||
disabled: [5.2]
|
disabled: [5.2]
|
||||||
|
|||||||
Reference in New Issue
Block a user