fix an error missed COMPOSER_GLOBAL_INSTALL

This commit is contained in:
Mahmoud Zalt 2016-07-25 07:15:26 +03:00
parent d5ffc04034
commit 11f7cfe729

View File

@ -74,7 +74,7 @@ ADD ./composer.json /root/.composer/composer.json
# Check if global install need to be runned
ARG COMPOSER_GLOBAL_INSTALL=true
ENV COMPOSER_GLOBAL_INSTALL ${COMPOSER_GLOBAL_INSTALL}
RUN if [ ${INSTALL_PRESTISSIMO} = true ]; then \
RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
# run the install
composer global install \
;fi