/magento-php

Docker Container to Magento 2 - PHP

Primary LanguageDockerfile

Magento PHP - Docker

All images have UID=1000

If you have different, please build a local image.

To view your UID execute: $ id -u

Versions PHP

SO PHP CLI + Composer + NPM PHP FPM
Alpine 7.3.30, 7.2.21, 7.1.31, 7.0.33 7.3.30, 7.2.21, 7.1.31, 7.0.33
Ubuntu 7.3.30, 7.2.21, 7.1.31, 7.0.33 7.3.30, 7.2.21, 7.1.31, 7.0.33

Build local image

Alpine 3.10

PHP Version Command
7.3.30 $ make alpine-php-cli-fpm-7-3-30
7.2.21 $ make alpine-php-cli-fpm-7-2-21
7.1.31 $ make alpine-php-cli-fpm-7-1-31
7.0.33 $ make alpine-php-cli-fpm-7-0-33

Ubuntu 18.04

PHP Version Command
7.3.30 $ make ubuntu-php-cli-fpm-7-3-30
7.2.21 $ make ubuntu-php-cli-fpm-7-2-21
7.1.31 $ make ubuntu-php-cli-fpm-7-1-31
7.0.33 $ make ubuntu-php-cli-fpm-7-0-33