Install deployer from phar to be compatible with laravel 4
This commit is contained in:
parent
4cffb2fc99
commit
a52a944003
@ -462,14 +462,18 @@ USER laradock
|
|||||||
#####################################
|
#####################################
|
||||||
# Deployer:
|
# Deployer:
|
||||||
#####################################
|
#####################################
|
||||||
USER laradock
|
USER root
|
||||||
|
|
||||||
ARG INSTALL_DEPLOYER=false
|
ARG INSTALL_DEPLOYER=false
|
||||||
ENV INSTALL_DEPLOYER ${INSTALL_DEPLOYER}
|
ENV INSTALL_DEPLOYER ${INSTALL_DEPLOYER}
|
||||||
|
|
||||||
RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
|
RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
|
||||||
# Install the Deployer
|
# Install the Deployer
|
||||||
composer global require "deployer/deployer" \
|
# Using Phar as currently there is no support for laravel 4 from composer version
|
||||||
|
# Waiting to be resolved on https://github.com/deployphp/deployer/issues/1552
|
||||||
|
curl -LO https://deployer.org/deployer.phar && \
|
||||||
|
mv deployer.phar /usr/local/bin/dep && \
|
||||||
|
chmod +x /usr/local/bin/dep \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
Reference in New Issue
Block a user