Merge pull request #2897 from PavelSavushkinMix/fix/composer_hirak_prestissimo

fix(hirak/prestissimo package): normalize installation of the package
This commit is contained in:
Shao Yu-Lung (Allen) 2021-03-21 22:10:09 +08:00 committed by GitHub
commit 0797617cb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1026,13 +1026,13 @@ RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
###########################################################################
# Prestissimo:
###########################################################################
USER laradock
ARG INSTALL_PRESTISSIMO=false
RUN if [ ${INSTALL_PRESTISSIMO} = true ]; then \
if [ $(php -r "echo COMPOSER_VERSION;") = "1" ]; then \
# Install Prestissimo
composer global require "hirak/prestissimo" \
;fi \
;fi
###########################################################################