Skip to content

graycoreio/magento2-devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 DevContainer

This devcontainer provides a complete development environment for Magento 2 that meets Adobe's official system requirements.

Version Branches

Each branch provides a docker-compose configuration matching the system requirements for that Magento version:

Branch Magento Version Configuration
main 2.4.9 docker-compose.yml
dev-v2.4.8 2.4.8 docker-compose.yml
dev-v2.4.7 2.4.7 docker-compose.yml
dev-v2.4.6 2.4.6 docker-compose.yml

To use a specific version, update your git submodule to the appropriate branch:

cd .devcontainer/magento2-devcontainer
git checkout dev-v2.4.7  # or desired branch

Getting Started

  1. Add this repository as a git submodule to your Magento project:

    git submodule add https://github.com/graycoreio/magento2-devcontainer.git .devcontainer/magento2-devcontainer
  2. Copy the sample devcontainer.json to your project:

    cp .devcontainer/magento2-devcontainer/devcontainer.json.sample .devcontainer/devcontainer.json
  3. Open the project in VS Code and click "Reopen in Container" when prompted.

Additional Resources

About

A devcontainer for Magento 2

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published