Sign inSign up

jamesbrink/magento

By jamesbrink

•Updated over 7 years ago

Minimal Magento 2 Docker image built on top of Alpine Linux.

Image
1

10K+

jamesbrink/magento repository overview

⁠Minimal Magento 2 Docker image built on top of Alpine Linux.

Build Status Docker Automated build Docker Pulls Docker Stars

⁠About

This is a minimal working Magento 2⁠ Docker image built to be slim and easy to use. Checkout the [docker-compose.yml]example-compose⁠.

Pull requests or suggestions are always welcome.

⁠Available versions

Docker ImageSize (Uncompressed)VersionDockerfile
jamesbrink/mageto:latest348 MBMagento 2.2.3Dockerfile⁠
jamesbrink/mageto:2.2348 MBMagento 2.2.3Dockerfile⁠
jamesbrink/mageto:2.2-sass655 MBMagento 2.2.3 SASS EnabledDockerfile⁠
jamesbrink/mageto:2.2-sd435 MBMagento 2.2.3 Sample DataDockerfile⁠
jamesbrink/mageto:2.2-sass-sd742 MBMagento 2.2.3 SASS & Sample DataDockerfile⁠
jamesbrink/magento:2.1328 MBMagento 2.1.12Dockerfile⁠
jamesbrink/magento:2.1-sd415 MBMagento 2.1.12 Sample DataDockerfile⁠
jamesbrink/magento:2.0318 MBMagento 2.0.18Dockerfile⁠
jamesbrink/magento:2.0-sd409 MBMagento 2.0.18 Sample DataDockerfile⁠

All images are built on top of the official Alpine Linux 3.7⁠ image, using a base image of jamesbrink/php⁠.

There is a SASS enabled version of this package which is packaged with NodeJS as well as magento2-theme-blank-sass⁠, and magento2-frontools⁠. The SASS image is fairly large, but useful for development purposes.

⁠Usage Examples

Run docker-compose example.
This will serve up the latest container and download sample data. Please not it will take a moment
to download the sample data once the container has booted.

Access the site at http://localhost/⁠ and the admin section at http://localhost/admin/⁠ login: admin/password1

git clone https://github.com/jamesbrink/docker-magento.git
cd docker-magento/2.2
docker-compose up

⁠Environment Variables

VariableDefault ValueDescription
APACHE_LOG_LEVELwarnadjusts the verbosity of the apache server which by default prints to STDOUT. Refer to the apache2 manual⁠ for all available LogLevels.
ENABLE_SAMPLE_DATAfalseIf set to "true" the container will download and install the Magento 2 sample data on startup.

Tag summary

Content type

Image

Digest

Size

88.4 MB

Last updated

over 7 years ago

docker pull jamesbrink/magento