File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 55! /benchmarks /
66! /composer.json
77! /phpunit.xml. *
8- ! /phpstan.neon. *
8+ ! /phpstan * .neon
99! /.php_cs. *
1010! /phpbench.json
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ FROM scratch AS test_source
77COPY benchmarks/ benchmarks/
88COPY src/ /src/
99COPY tests/ /tests/
10- COPY phpunit.xml.* phpstan.neon.* .php_cs.* phpbench.json /
10+ COPY phpunit.xml.* phpstan* .neon .php_cs.* phpbench.json /
1111
1212FROM alpine:3.9
1313
@@ -28,9 +28,13 @@ RUN set -eu; \
2828 php-xml \
2929 php-dom \
3030 php-pdo \
31+ php-curl \
3132 ; ln -s /usr/bin/php7 /usr/bin/php
3233
3334COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
35+ # install Symfony Flex globally to speed up download of Composer packages (parallelized prefetching)
36+ RUN set -eux; \
37+ composer global require "symfony/flex" --prefer-dist --no-progress --no-suggest --classmap-authoritative;
3438
3539WORKDIR /opt/test
3640
You can’t perform that action at this time.
0 commit comments