fix(hirak/prestissimo package): normalize installation of the package
Avoid installation of hirak/prestissimo for the second version of the composer. Change user to root, due to usage of this user as a common one.
This commit is contained in:
parent
b9260fbff6
commit
21dcc046c9
|
@ -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 \
|
||||||
|
if [ $(php -r "echo COMPOSER_VERSION;") = "1" ]; then \
|
||||||
# Install Prestissimo
|
# Install Prestissimo
|
||||||
composer global require "hirak/prestissimo" \
|
composer global require "hirak/prestissimo" \
|
||||||
|
;fi
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
Loading…
Reference in New Issue