Skip to content

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

Merged
merged 2 commits into from
Aug 16, 2020
Merged

Make the docker image more usable #737

merged 2 commits into from
Aug 16, 2020

Conversation

bartv2
Copy link
Contributor

@bartv2 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

@mathroc
Copy link
Contributor

mathroc commented Aug 16, 2020

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)

Copy link
Contributor

@mcg-web mcg-web left a 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
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!

@@ -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?

@bartv2
Copy link
Contributor Author

bartv2 commented Aug 16, 2020

composer install is slow, doing parallel downloads helps a lot. This was the solution that i also use in other projects.

@mcg-web mcg-web merged commit 75d51a7 into overblog:master Aug 16, 2020
@bartv2 bartv2 deleted the patch-4 branch August 16, 2020 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants