Merge pull request #52 from mattythebatty/add-npm-bower-gulp

Install node, npm, gulp and bower to the workspace container
This commit is contained in:
Mahmoud Zalt 2016-05-18 22:49:31 +03:00
commit 84e6b2b6ff

View File

@ -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