We constantly have to create, drop and recreate a new Magento installation, and it takes too much time to finish (~20 minutes) and start lots of settings like customer address, catalog, and such. It takes more time to execute these steps than actually testing what we're looking for.
In order to make the instalation as easy as possible, we need to create a resource with all the basic settings already defined, instead of creating every time from scratch.
- Create a new image from
ricardotulio/ecommerce-platforms - Install MySQL on this image, and then import the database on this image
- Build it with the Magento source code
- Expose all required ports
- Create a volume to share Magento source between host and guest
- Tag image with every Magento release
- Test and validate format
- Create a new image from
ricardotulio/ecommerce-platforms.- Copy files from database
- Copy files from Magento
- Install MySQL on this image, and then import the database on this image
- Install MySQL 5.6
- [ ]