Skip to content

Commit

Permalink
Upgrade to PHP 7.1.24
Browse files Browse the repository at this point in the history
Use new base Docker image with PHP 7.1.24
  • Loading branch information
alexcheng1982 committed Nov 21, 2018
1 parent 98ca3b1 commit a077e39
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alexcheng/apache2-php7:{{phpVersion}}
FROM quay.io/alexcheng1982/apache2-php7:{{phpVersion}}

LABEL maintainer="[email protected]"
LABEL version="{{magento2Version}}"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

This repo converts the [long installation guide](http://devdocs.magento.com/guides/v1.0/install-gde/bk-install-guide.html) of Magento 2 into simple Docker image to use. It uses the same convention as my [Docker image for Magento 1.x](https://github.com/alexcheng1982/docker-magento).

For documentation, please refer to the Magento 1.x [repo](https://github.com/alexcheng1982/docker-magento). These two Docker images follow the same instructions.
This docker image is based on my [docker-apache2-php7](https://github.com/alexcheng1982/docker-apache2-php7) image for Apache 2 and PHP 7.

__Note__ This docker image uses the *Contributing developer* profile to install Magento, so it has limitations. See more details [here](http://devdocs.magento.com/guides/v2.0/install-gde/bk-install-guide.html).

**Please note: this Docker image is for development and testing only, not for production use. Setting up a Magento 2 production server requires more configurations. Please refer to [official documentations](http://devdocs.magento.com/guides/v2.2/config-guide/deployment/).**
**Please note: this Docker image is for development and testing only, not ready for production use. Setting up a Magento 2 production server requires more configurations. Please refer to [official documentations](http://devdocs.magento.com/guides/v2.2/config-guide/deployment/).**

## Magento 2 installation types

Expand Down
2 changes: 1 addition & 1 deletion developer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alexcheng/apache2-php7:7.1.11
FROM quay.io/alexcheng1982/apache2-php7:7.1.24

LABEL maintainer="[email protected]"
LABEL version="2.2.6"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.0'
services:
web:
build: .
build: ./developer
ports:
- "80:80"
links:
Expand Down
25 changes: 25 additions & 0 deletions docker-compose-integrator-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: '3.0'
services:
web:
build: ./integrator
ports:
- "80:80"
links:
- db
env_file:
- env
db:
image: mysql:5.6.23
volumes:
- db-data:/var/lib/mysql/data
env_file:
- env
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
ports:
- "8580:80"
links:
- db
volumes:
db-data:
2 changes: 1 addition & 1 deletion integrator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alexcheng/apache2-php7:7.1.11
FROM quay.io/alexcheng1982/apache2-php7:7.1.24

LABEL maintainer="[email protected]"
LABEL version="2.2.6"
Expand Down
82 changes: 82 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion update.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fs = Promise.promisifyAll(require("fs"));
const path = require("path");

const commonOptions = {
phpVersion: '7.1.11',
phpVersion: '7.1.24',
magento2Version: '2.2.6',
};

Expand Down

0 comments on commit a077e39

Please sign in to comment.