Skip to content

Commit c3ff9e4

Browse files
committed
Install node, npm, gulp and bower to the workspace container
1 parent 77f9183 commit c3ff9e4

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

workspace/Dockerfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ RUN apt-get update \
3131
git \
3232
curl \
3333
vim \
34-
nano
34+
nano \
35+
nodejs \
36+
nodejs-dev \
37+
npm
3538

3639
# Install Composer
3740
RUN curl -s http://getcomposer.org/installer | php \
@@ -42,6 +45,12 @@ RUN curl -s http://getcomposer.org/installer | php \
4245
RUN composer.phar global require "laravel/installer" \
4346
&& echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc
4447

48+
# Install gulp and bower
49+
RUN npm install -g gulp bower
50+
51+
# Add a symbolic link
52+
RUN ln -s /usr/bin/nodejs /usr/bin/node
53+
4554
# Add an alias for PHPUnit
4655
RUN echo "alias phpunit='./vendor/bin/phpunit'" >> ~/.bashrc
4756

0 commit comments

Comments
 (0)