-
Notifications
You must be signed in to change notification settings - Fork 222
Make the docker image more usable #737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bartv2
commented
Aug 16, 2020
Q | A |
---|---|
Bug fix? | yes/no |
New feature? | yes/no |
BC breaks? | yes/no |
Deprecations? | yes/no |
Tests pass? | yes/no |
Documented? | yes/no |
Fixed tickets | #... |
License | MIT |
composer 2 also supports parallel fetching of the dependencies, maybe it’ll be easier for maintenance to just wait for a stable release of composer (or include the alpha version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! it's more a performance than a reusable improvement?
@@ -5,6 +5,6 @@ | |||
!/benchmarks/ | |||
!/composer.json | |||
!/phpunit.xml.* | |||
!/phpstan.neon.* | |||
!/phpstan*.neon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok nice, thank you!
@@ -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 / |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change?
composer install is slow, doing parallel downloads helps a lot. This was the solution that i also use in other projects. |