Merge pull request #43 from dunglas/replace-prestissimo

Replace Prestissimo by Flex
This commit is contained in:
Kévin Dunglas 2019-01-25 14:48:43 +01:00 committed by GitHub
commit 028f1e05a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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