6 months ago
stage-0
RUN composer install --optimize-autoloader --no-dev
215ms
Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- openspout/openspout is locked to version v4.29.1 and an update of this package was not requested.
- openspout/openspout v4.29.1 requires php ~8.3.0 || ~8.4.0 -> your php version (8.2.29) does not satisfy that requirement.
Problem 2
- openspout/openspout v4.29.1 requires php ~8.3.0 || ~8.4.0 -> your php version (8.2.29) does not satisfy that requirement.
- filament/actions v3.3.0 requires openspout/openspout ^4.23 -> satisfiable by openspout/openspout[v4.29.1].
- filament/actions is locked to version v3.3.0 and an update of this package was not requested.
Dockerfile:24
-------------------
22 |
23 | # Install PHP dependencies
24 | >>> RUN composer install --optimize-autoloader --no-dev
25 |
26 | # Clear cache
-------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c composer install --optimize-autoloader --no-dev" did not complete successfully: exit code: 2
2 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
As the log says, in your composer.json or in any of the dependencies you have a openspout/openspout package dependency that is locked at version v4.29.1 , version 4.29.1 of the package requires PHP version 8.3 or higher
Your image runs PHP version 8.2.29 that does not satisfy this requirement and thus the packages installation can not complete.
The simplest option for your would be to upgrade your PHP version to 8.3