PHP 8.2 with Magento 2.4 extensions

To pull the PHP 8.2 image 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

This image is based on PHP 8.2 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: {
            baseImage: 'ghcr.io/scandipwa/create-magento-app:php-8.2-magento-2.4'
        }
    }
};

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

Last updated