Spryker updated every newer docker image to compos...
# docker
f
Spryker updated every newer docker image to composer 2.x which might break some packages
s
Interesting. We've enabled our own Docker images using Composer 2 for quite some time now and at least the "default" Spryker setup works without issue.
f
the default one yes, but you might have packages like
hirak/prestissimo
to speed up deployments which only work with composer 1
s
prestissimo is not needed for Composer 2 anymore as exactly this feature is now done by composer itself.
a
@sparse-fall-78248 we had the way around 😄 We had already problems before the announcement today morning … the project could not be installed due to hard dependency of phantomjsinstaller:^2.x in b2b project composer file …
s
We switched to `"jakoch/phantomjs-installer": "^3.0.0",`` for that.
a
Yeah correct … but was not really visible with the composer file of the project
Because it still
“require-dev”: {
“composer/composer”: “^1.2”,
“phpunit/phpunit”: “^8”
},
I do not assume any compatibility with 2.0 then
h
There could be other compatibility issues with phpstan and other dev modules. The possible fix: https://sprykercommunity.slack.com/archives/CMYFJCG2E/p1617900162005300?thread_ts=1617869576.000700&cid=CMYFJCG2E
👍 1