Skip to content

Commit

Permalink
Merge branch 'master' into 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcheng1982 committed Oct 30, 2017
2 parents 4c5da40 + 05a85f0 commit 5343c18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN cd /var/www/html \
&& find . -type f -exec chmod 660 {} \; \
&& chmod u+x bin/magento

RUN su www-data -c "cd /var/www/html && composer config repositories.magento composer https://repo.magento.com/"

COPY ./bin/install-magento /usr/local/bin/install-magento
RUN chmod +x /usr/local/bin/install-magento

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ This repo converts the [long installation guide](http://devdocs.magento.com/guid

For documentation, please refer to the Magento 1.x [repo](https://github.com/alexcheng1982/docker-magento). These two Docker images follow the same instructions.

**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/).**

Below are some basic instructions.

## Quick start
Expand Down Expand Up @@ -53,8 +55,6 @@ $ docker exec -it <container_name> install-magento

### Sample data

**Please note** Not working for Magento 2.2.0 yet.

~~~
$ docker exec -it <container_name> install-sampledata
~~~
Expand Down
2 changes: 2 additions & 0 deletions bin/install-sampledata
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ ln -s ~/.composer/auth.json /var/www/html/var/composer_home/
/var/www/html/bin/magento setup:upgrade
/var/www/html/bin/magento setup:di:compile
EOSU

0 comments on commit 5343c18

Please sign in to comment.