Replace Prestissimo by Flex

This commit is contained in:
Kévin Dunglas 2019-01-25 09:53:06 +01:00
parent af96d4b76e
commit 154b2113a0
No known key found for this signature in database
GPG Key ID: 4D04EBEF06AAF3A6

View File

@ -66,7 +66,7 @@ CMD ["php-fpm"]
ENV COMPOSER_ALLOW_SUPERUSER 1
# Use prestissimo to speed up builds
RUN composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --optimize-autoloader --classmap-authoritative --no-interaction
RUN composer global require "symfony/flex" --prefer-dist --no-progress --no-suggest --classmap-authoritative --no-interaction
# Allow to use development versions of Symfony
ARG STABILITY="stable"
@ -85,4 +85,5 @@ COPY . .
RUN mkdir -p var/cache var/logs var/sessions \
&& composer install --prefer-dist --no-dev --no-scripts --no-progress --no-suggest --classmap-authoritative --no-interaction \
&& chown -R www-data var
&& composer clear-cache \
&& chown -R www-data var