We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7421747 commit 16f8802Copy full SHA for 16f8802
1 file changed
workspace/Dockerfile-72
@@ -457,14 +457,18 @@ USER laradock
457
#####################################
458
# Deployer:
459
460
-USER laradock
+USER root
461
462
ARG INSTALL_DEPLOYER=false
463
ENV INSTALL_DEPLOYER ${INSTALL_DEPLOYER}
464
465
RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
466
# Install the Deployer
467
- composer global require "deployer/deployer" \
+ # Using Phar as currently there is no support for laravel 4 from composer version
468
+ # Waiting to be resolved on https://github.com/deployphp/deployer/issues/1552
469
+ curl -LO https://deployer.org/deployer.phar && \
470
+ mv deployer.phar /usr/local/bin/dep && \
471
+ chmod +x /usr/local/bin/dep \
472
;fi
473
474
0 commit comments