jalogut / magento2-deployer-plus

Tool based on deployer.org to perform zero downtime deployments of Magento 2 projects
GNU General Public License v3.0
200 stars 59 forks source link

Failed opening required 'recipe/common.php' #75

Closed rikwillems closed 2 years ago

rikwillems commented 3 years ago

Using docker image markoshust/magento-php:7.4-fpm I'm getting this error.

Fatal error: require(): Failed opening required 'recipe/common.php' (include_path='phar:///data/vendor/deployer/dist/dep/bin/../:.:/usr/local/lib/php') in /data/vendor/jalogut/magento2-deployer-plus/recipe/magento_2_2_5.php on line 13

The fix is to change require to require_once, also for files magento_2_2.php and magento_2_1.php.

Try: docker run --volume ${PWD}:/data --workdir /data -it markoshust/magento-php:7.4-fpm vendor/bin/dep build -vvv