-
Notifications
You must be signed in to change notification settings - Fork 192
Home
Oleg Posyniak edited this page May 14, 2020
·
6 revisions
You can build a custom Docker image from the source to test your changes.
- Build an image (PHP for example):
docker build -t test/php:7.2-cli ../magento-cloud-docker/images/php/7.2-cli
- Create the extending file
docker-compose.override.yml
with the new images:
version: '2.1'
services:
build:
image: test/php:7.2-cli
deploy:
image: test/php:7.2-cli
You can add the custom binary script like ./bin/dev-ece-docker
with the next content:
#!/usr/bin/env php
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
require __DIR__ . '/../bootstrap.php';
use Magento\CloudDocker\App\Container;
$container = new Container(
dirname(__DIR__),
__DIR__ . '/../../MAGENTO_PROJECT',
__DIR__ . '/../../MAGENTO_PROJECT'
);
$application = new Magento\CloudDocker\Application($container);
$application->run();
Replace MAGENTO_PROJECT
with a directory name containing an M2 project. This will allow you to run binary commands locally without requiring your custom changes as a Composer dependency.
-
develop
- represents the next minor release, new functionality, and fixes -
1.0
- represents current minor release, fixes only -
1.1
- represents next minor releas