From 154b2113a0d19743118973cb822650fd05ed62ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Fri, 25 Jan 2019 09:53:06 +0100 Subject: [PATCH] Replace Prestissimo by Flex --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 919822d..b33f174 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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