Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
!/benchmarks/
!/composer.json
!/phpunit.xml.*
!/phpstan.neon.*
!/phpstan*.neon
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcg-web I think because i renamed the phpstan.neon.dist long time ago

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes the name changed and the config wasn't included

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok nice, thank you!

!/.php_cs.*
!/phpbench.json
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM scratch AS test_source
COPY benchmarks/ benchmarks/
COPY src/ /src/
COPY tests/ /tests/
COPY phpunit.xml.* phpstan.neon.* .php_cs.* phpbench.json /
COPY phpunit.xml.* phpstan*.neon .php_cs.* phpbench.json /
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?


FROM alpine:3.9

Expand All @@ -28,9 +28,13 @@ RUN set -eu; \
php-xml \
php-dom \
php-pdo \
php-curl \
; ln -s /usr/bin/php7 /usr/bin/php

COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# install Symfony Flex globally to speed up download of Composer packages (parallelized prefetching)
RUN set -eux; \
composer global require "symfony/flex" --prefer-dist --no-progress --no-suggest --classmap-authoritative;

WORKDIR /opt/test

Expand Down