PHP 8.2 with XDebug with Magento 2.4 extensions

To pull the PHP 8.2 image with XDebug with Magento 2.4 extensions you can run the following command:

docker pull ghcr.io/scandipwa/create-magento-app:php-8.2-magento-2.4-debug

This image is based on PHP 8.2 with XDebug image.

You can set this image in the configuration file to be used in your project.

cma.js
/** @type {import('@scandipwa/magento-scripts').CMAConfiguration} */
module.exports = {
    // ... other configurations
    configuration: {
        php: {
            debugImage: 'ghcr.io/scandipwa/create-magento-app:php-8.2-magento-2.4-debug'
        }
    }
};

You also need to set baseImage property to PHP 8.2 with Magento 2.4 extensions if you will use this PHP version in your project!

Last updated