File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 5
5
! /benchmarks /
6
6
! /composer.json
7
7
! /phpunit.xml. *
8
- ! /phpstan.neon. *
8
+ ! /phpstan * .neon
9
9
! /.php_cs. *
10
10
! /phpbench.json
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ FROM scratch AS test_source
7
7
COPY benchmarks/ benchmarks/
8
8
COPY src/ /src/
9
9
COPY tests/ /tests/
10
- COPY phpunit.xml.* phpstan.neon.* .php_cs.* phpbench.json /
10
+ COPY phpunit.xml.* phpstan* .neon .php_cs.* phpbench.json /
11
11
12
12
FROM alpine:3.9
13
13
@@ -28,9 +28,13 @@ RUN set -eu; \
28
28
php-xml \
29
29
php-dom \
30
30
php-pdo \
31
+ php-curl \
31
32
; ln -s /usr/bin/php7 /usr/bin/php
32
33
33
34
COPY --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;
34
38
35
39
WORKDIR /opt/test
36
40
You can’t perform that action at this time.
0 commit comments