Merge pull request #2897 from PavelSavushkinMix/fix/composer_hirak_prestissimo
fix(hirak/prestissimo package): normalize installation of the package
This commit is contained in:
commit
0797617cb4
|
@ -1026,13 +1026,13 @@ RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Prestissimo:
|
# Prestissimo:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
USER laradock
|
|
||||||
|
|
||||||
ARG INSTALL_PRESTISSIMO=false
|
ARG INSTALL_PRESTISSIMO=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_PRESTISSIMO} = true ]; then \
|
RUN if [ ${INSTALL_PRESTISSIMO} = true ]; then \
|
||||||
# Install Prestissimo
|
if [ $(php -r "echo COMPOSER_VERSION;") = "1" ]; then \
|
||||||
composer global require "hirak/prestissimo" \
|
# Install Prestissimo
|
||||||
|
composer global require "hirak/prestissimo" \
|
||||||
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
Loading…
Reference in New Issue