Remove global Flex as it's not needed with Composer 2

This commit is contained in:
Fabien Potencier 2020-11-17 09:35:09 +01:00
parent cff7fe63f7
commit d0c514e4f1

View File

@ -66,10 +66,7 @@ RUN set -eux; \
# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser
ENV COMPOSER_ALLOW_SUPERUSER=1
# install Symfony Flex globally to speed up download of Composer packages (parallelized prefetching)
RUN set -eux; \
composer global require "symfony/flex" --prefer-dist --no-progress --classmap-authoritative; \
composer clear-cache
ENV PATH="${PATH}:/root/.composer/vendor/bin"
WORKDIR /srv/app