PHP 7.2 with Magento 2.3 extensions

To pull the PHP 7.2 image with Magento 2.3 extensions you can run the following command:

docker pull ghcr.io/scandipwa/create-magento-app:php-7.2-magento-2.3

This image is based on PHP 7.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-7.2-magento-2.3'
        }
    }
};

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

Last updated