Skip to content

Instantly share code, notes, and snippets.

View shiftedreality's full-sized avatar
💭
I Am Machine

Oleg Posyniak shiftedreality

💭
I Am Machine
View GitHub Profile
#!/bin/bash
docker run --rm \
-e "MAGENTO_ROOT=/app" \
-v $(pwd):/app \
-v ~/.composer/cache:/root/.composer/cache \
-v /app/vendor \
magento/magento-cloud-docker-php:7.2-cli \
bash -c "composer install -d /app && /app/vendor/bin/ece-tools docker:build $*"
@shiftedreality
shiftedreality / cloud-docker-local-development.MD
Last active November 13, 2019 18:48
Local development of Magento Cloud Docker

Developing Compose Builders

To be able to test changes to Cloud Docker, create next file:

#!/usr/bin/env php
<?php

require __DIR__ . '/../bootstrap.php';