fix .bashrc exports and alises
This commit is contained in:
parent
07a07ab3ac
commit
66f08a4f60
@ -36,11 +36,14 @@ RUN apt-get update \
|
||||
# Install Composer
|
||||
RUN curl -s http://getcomposer.org/installer | php \
|
||||
&& mv composer.phar /usr/local/bin/ \
|
||||
&& alias composer='/usr/local/bin/composer.phar'
|
||||
&& echo "alias composer='/usr/local/bin/composer.phar'" >> ~/.bashrc
|
||||
|
||||
# Install Laravel Installer
|
||||
# Install the Laravel Installer
|
||||
RUN composer.phar global require "laravel/installer" \
|
||||
&& export PATH="$PATH:$HOME/.composer/vendor/bin"
|
||||
&& echo "export PATH='$PATH:$HOME/.composer/vendor/bin'" >> ~/.bashrc
|
||||
|
||||
# Source the bashrc to apply updates
|
||||
RUN . ~/.bashrc
|
||||
|
||||
# Clean up
|
||||
RUN apt-get autoclean && apt-get clean \
|
||||
|
Loading…
Reference in New Issue
Block a user