Skip to content

Commit d269442

Browse files
authored
Merge branch 'master' into patch-3
2 parents 43f4949 + 75d51a7 commit d269442

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
!/benchmarks/
66
!/composer.json
77
!/phpunit.xml.*
8-
!/phpstan.neon.*
8+
!/phpstan*.neon
99
!/.php_cs.*
1010
!/phpbench.json

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM scratch AS test_source
77
COPY benchmarks/ benchmarks/
88
COPY src/ /src/
99
COPY tests/ /tests/
10-
COPY phpunit.xml.* phpstan.neon.* .php_cs.* phpbench.json /
10+
COPY phpunit.xml.* phpstan*.neon .php_cs.* phpbench.json /
1111

1212
FROM 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

3334
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;
3438

3539
WORKDIR /opt/test
3640

0 commit comments

Comments
 (0)