diff --git a/README.md b/README.md index 569b4ff4..5cf1528c 100644 --- a/README.md +++ b/README.md @@ -447,21 +447,17 @@ docker logs {container-name} 1 - First you need to enter the Workspace Container. -2 - Install Laravel anyway you like. - -Example using the Laravel Installer: - -```bash -laravel new my-cool-app -``` +2 - Install Laravel. Example using Composer ```bash -composer create-project laravel/laravel my-cool-app "5.1.*" +composer create-project laravel/laravel my-cool-app "5.2.*" ``` -For more about this check out this [link](https://laravel.com/docs/master#installing-laravel). +> We recommand using `composer create-project` instead of the Laravel installer, to install Laravel. + +For more about the Laravel installation click [here](https://laravel.com/docs/master#installing-laravel). 3 - Edit `docker-compose.yml` to Map the new application path: diff --git a/workspace/Dockerfile b/workspace/Dockerfile index d85a9238..904c301c 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -62,10 +62,6 @@ RUN curl -s http://getcomposer.org/installer | php \ && mv composer.phar /usr/local/bin/ \ && echo "alias composer='/usr/local/bin/composer.phar'" >> ~/.bashrc -# Install the Laravel Installer -RUN composer.phar global require "laravel/installer" \ - && echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc - # Source the bash RUN . ~/.bashrc