From c3ff9e485b1d83c6a69c6ed5076c6089ac54fbe7 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 18 May 2016 20:20:16 +0100 Subject: [PATCH] Install node, npm, gulp and bower to the workspace container --- workspace/Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index ee0605b6..689af99b 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -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