Skip to content

Commit

Permalink
added support for all Magento versions down to 2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aeno committed Mar 16, 2021
1 parent 0c4dac7 commit e270e97
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<h1 align="center">m2devbox</h1>

<div align="center">
<img src="https://img.shields.io/badge/Magento-2.x-orange?logo=magento" alt="Magento 2.x" />
<img src="https://img.shields.io/badge/Docker-17.05+-blue?logo=docker" alt="Docker 17.05+" />
<img src="https://img.shields.io/badge/License-MPL--2.0-brightgreen" alt="License: MPL-2.0" />
<img alt="Latest release" src="https://img.shields.io/github/v/release/MageGyver/m2devbox">
<img src="https://img.shields.io/badge/Magento-2.x-orange?logo=magento" alt="Magento 2.x" />
<img src="https://img.shields.io/badge/Docker-17.05+-blue?logo=docker" alt="Docker 17.05+" />
<img src="https://img.shields.io/badge/License-MPL--2.0-brightgreen" alt="License: MPL-2.0" />
</div>

The goal of m2devbox is to accelerate setting up development environments for Magento 2.
Expand Down Expand Up @@ -145,6 +146,20 @@ Magento CLI commands like `bin/magento cache:clean`.
| `container` | _optional_ | Container name to run the command in. Allowed values: `web` &#124;&#124; `db` &#124;&#124; `elastic` | `web` |
| `command` | _optional_ | Command to run in the container. | `bash` |

## Supported Magento versions
* 2.3.4
* 2.3.4-p2
* 2.3.5
* 2.3.5-p1
* 2.3.5-p2
* 2.3.6
* 2.3.6-1
* 2.4.0
* 2.4.0-p1
* 2.4.1
* 2.4.1-p1
* 2.4.2

## License

m2devbox is licensed under the [Mozilla Public License, v. 2.0](https://mozilla.org/MPL/2.0/).
56 changes: 56 additions & 0 deletions src/etc/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,83 @@

return [
'supported_versions' => [
'2.3.4' => [
'recipe_class' => 'Mage23',
'long_version' => '2.3.4',
'short_version' => '234',
'php_img_version' => '7.3',
'compose_files' => ['docker-compose.mage-2.3.yml'],
],
'2.3.4-p2' => [
'recipe_class' => 'Mage23',
'long_version' => '2.3.4-p2',
'short_version' => '234p2',
'php_img_version' => '7.3',
'compose_files' => ['docker-compose.mage-2.3.yml'],
],
'2.3.5' => [
'recipe_class' => 'Mage23',
'long_version' => '2.3.5',
'short_version' => '235',
'php_img_version' => '7.3',
'compose_files' => ['docker-compose.mage-2.3.yml'],
],
'2.3.5-p1' => [
'recipe_class' => 'Mage23',
'long_version' => '2.3.5-p1',
'short_version' => '235p1',
'php_img_version' => '7.3',
'compose_files' => ['docker-compose.mage-2.3.yml'],
],
'2.3.5-p2' => [
'recipe_class' => 'Mage23',
'long_version' => '2.3.5-p2',
'short_version' => '235p2',
'php_img_version' => '7.3',
'compose_files' => ['docker-compose.mage-2.3.yml'],
],
'2.3.6' => [
'recipe_class' => 'Mage23',
'long_version' => '2.3.6',
'short_version' => '236',
'php_img_version' => '7.3',
'compose_files' => ['docker-compose.mage-2.3.yml'],
],
'2.3.6-1' => [
'recipe_class' => 'Mage23',
'long_version' => '2.3.6-1',
'short_version' => '236p1',
'php_img_version' => '7.3',
'compose_files' => ['docker-compose.mage-2.3.yml'],
],
'2.4.0' => [
'recipe_class' => 'Mage24',
'long_version' => '2.4.0',
'short_version' => '240',
'php_img_version' => '7.4',
'compose_files' => ['docker-compose.mage-2.4.yml'],
],
'2.4.0-p1' => [
'recipe_class' => 'Mage24',
'long_version' => '2.4.0-p1',
'short_version' => '240p1',
'php_img_version' => '7.4',
'compose_files' => ['docker-compose.mage-2.4.yml'],
],
'2.4.1' => [
'recipe_class' => 'Mage24',
'long_version' => '2.4.1',
'short_version' => '241',
'php_img_version' => '7.4',
'compose_files' => ['docker-compose.mage-2.4.yml'],
],
'2.4.1-p1' => [
'recipe_class' => 'Mage24',
'long_version' => '2.4.1-p1',
'short_version' => '241p1',
'php_img_version' => '7.4',
'compose_files' => ['docker-compose.mage-2.4.yml'],
],
'2.4.2' => [
'recipe_class' => 'Mage24',
'long_version' => '2.4.2',
Expand Down

0 comments on commit e270e97

Please sign in to comment.