Commit c3ff9e48 authored by matt's avatar matt

Install node, npm, gulp and bower to the workspace container

parent 77f9183c
...@@ -31,7 +31,10 @@ RUN apt-get update \ ...@@ -31,7 +31,10 @@ RUN apt-get update \
git \ git \
curl \ curl \
vim \ vim \
nano nano \
nodejs \
nodejs-dev \
npm
# Install Composer # Install Composer
RUN curl -s http://getcomposer.org/installer | php \ RUN curl -s http://getcomposer.org/installer | php \
...@@ -42,6 +45,12 @@ 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" \ RUN composer.phar global require "laravel/installer" \
&& echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc && 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 # Add an alias for PHPUnit
RUN echo "alias phpunit='./vendor/bin/phpunit'" >> ~/.bashrc RUN echo "alias phpunit='./vendor/bin/phpunit'" >> ~/.bashrc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment