Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
84e6b2b6
Commit
84e6b2b6
authored
May 18, 2016
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #52 from mattythebatty/add-npm-bower-gulp
Install node, npm, gulp and bower to the workspace container
parents
77f9183c
c3ff9e48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
Dockerfile
workspace/Dockerfile
+10
-1
No files found.
workspace/Dockerfile
View file @
84e6b2b6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment