wp-browser icon indicating copy to clipboard operation
wp-browser copied to clipboard

[BUG] Docker image no longer works with Codeception

Open benjaminprojas opened this issue 2 years ago • 0 comments

This is related specifically to the docker image hosted here: https://hub.docker.com/r/lucatume/wp-browser

We have been using this to run our tests in docker, but lately it has stopped working with the following error:

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.8. in /project/vendor/composer/platform_check.php on line 24

Call Stack:
    0.0089     409392   1. {main}() /project/vendor/bin/codecept:0
    0.0222     410992   2. include('/project/vendor/codeception/codeception/codecept') /project/vendor/bin/codecept:112
    0.0333     433544   3. require('/project/vendor/codeception/codeception/app.php') /project/vendor/codeception/codeception/codecept:6
    0.0390     444264   4. require_once('/project/vendor/codeception/codeception/autoload.php') /project/vendor/codeception/codeception/app.php:3
    0.0431     445392   5. require_once('/project/vendor/autoload.php') /project/vendor/codeception/codeception/autoload.php:27
    0.0476     459320   6. ComposerAutoloaderInit7c43f8e7c073554b54f0ced6f97950ff::getLoader() /project/vendor/autoload.php:7
    0.0491     469448   7. require('/project/vendor/composer/platform_check.php') /project/vendor/composer/autoload_real.php:25
    0.0501     470136   8. trigger_error() /project/vendor/composer/platform_check.php:24

ERROR: 255

It seems the PHP version in the docker image itself is 7.3.8 and needs to be updated. Is it possible to get a copy of the Dockerfile itself so we can generate our own image? Thanks!

benjaminprojas avatar Jul 07 '22 13:07 benjaminprojas