Install the Laravel Installer in the workspace container

This commit is contained in:
Mahmoud Zalt 2016-05-18 08:07:54 +03:00
parent a69681b07c
commit fb4fcdcb23

View File

@ -37,6 +37,10 @@ RUN curl -s http://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/ \
&& alias composer='/usr/local/bin/composer.phar'
# Install Laravel Installer
RUN composer.phar global require "laravel/installer" \
&& export PATH="$PATH:$HOME/.composer/vendor/bin"
# Clean up
RUN apt-get autoclean && apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*