Install node, npm, gulp and bower to the workspace container
This commit is contained in:
parent
77f9183c83
commit
c3ff9e485b
@ -31,7 +31,10 @@ RUN apt-get update \
|
||||
git \
|
||||
curl \
|
||||
vim \
|
||||
nano
|
||||
nano \
|
||||
nodejs \
|
||||
nodejs-dev \
|
||||
npm
|
||||
|
||||
# Install Composer
|
||||
RUN curl -s http://getcomposer.org/installer | php \
|
||||
@ -42,6 +45,12 @@ RUN curl -s http://getcomposer.org/installer | php \
|
||||
RUN composer.phar global require "laravel/installer" \
|
||||
&& echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc
|
||||
|
||||
# Install gulp and bower
|
||||
RUN npm install -g gulp bower
|
||||
|
||||
# Add a symbolic link
|
||||
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||
|
||||
# Add an alias for PHPUnit
|
||||
RUN echo "alias phpunit='./vendor/bin/phpunit'" >> ~/.bashrc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user