{"action":"created","comment":{"url":"https://api.github.com/repos/laradock/laradock/pulls/comments/92749892","pull_request_review_id":13270748,"id":92749892,"diff_hunk":"@@ -148,39 +148,23 @@ USER laradock\n # Node / NVM:\n #####################################\n \n-# Check if NVM needs to be installed\n-ARG NODE_VERSION=stable\n+ENV NPM_CONFIG_LOGLEVEL info\n+\n+# Using LTS version\n+ARG NODE_VERSION=6\n ENV NODE_VERSION ${NODE_VERSION}\n ARG INSTALL_NODE=false\n ENV INSTALL_NODE ${INSTALL_NODE}\n-ENV NVM_DIR /home/laradock/.nvm\n-RUN if [ ${INSTALL_NODE} = true ]; then \\\n-    # Install nvm (A Node Version Manager)\n-    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.6/install.sh | bash && \\\n-        . $NVM_DIR/nvm.sh && \\\n-        nvm install ${NODE_VERSION} && \\\n-        nvm use ${NODE_VERSION} && \\\n-        nvm alias ${NODE_VERSION} && \\\n-        npm install -g gulp bower vue-cli \\\n-;fi\n \n-# Wouldn't execute when added to the RUN statement in the above block\n-# Source NVM when loading bash since ~/.profile isn't loaded on non-login shell\n-RUN if [ ${INSTALL_NODE} = true ]; then \\\n-    echo \"\" >> ~/.bashrc && \\\n-    echo 'export NVM_DIR=\"$HOME/.nvm\"' >> ~/.bashrc && \\\n-    echo '[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"  # This loads nvm' >> ~/.bashrc \\\n-;fi\n-\n-# Add NVM binaries to root's .bashrc\n USER root","path":"workspace/Dockerfile","position":33,"original_position":33,"commit_id":"12d2c5da92bfd198c873f7d97245d274cccbb129","original_commit_id":"6f33e569dbac14910bcbaa6d7a967f6cd2f0cc4c","user":{"login":"appleboy","id":21979,"avatar_url":"https://avatars.githubusercontent.com/u/21979?v=3","gravatar_id":"","url":"https://api.github.com/users/appleboy","html_url":"https://github.com/appleboy","followers_url":"https://api.github.com/users/appleboy/followers","following_url":"https://api.github.com/users/appleboy/following{/other_user}","gists_url":"https://api.github.com/users/appleboy/gists{/gist_id}","starred_url":"https://api.github.com/users/appleboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appleboy/subscriptions","organizations_url":"https://api.github.com/users/appleboy/orgs","repos_url":"https://api.github.com/users/appleboy/repos","events_url":"https://api.github.com/users/appleboy/events{/privacy}","received_events_url":"https://api.github.com/users/appleboy/received_events","type":"User","site_admin":false},"body":"Please show detail error log, everybody can help to resolve node issue.","created_at":"2016-12-16T04:10:30Z","updated_at":"2016-12-16T04:10:30Z","html_url":"https://github.com/laradock/laradock/pull/487#discussion_r92749892","pull_request_url":"https://api.github.com/repos/laradock/laradock/pulls/487","_links":{"self":{"href":"https://api.github.com/repos/laradock/laradock/pulls/comments/92749892"},"html":{"href":"https://github.com/laradock/laradock/pull/487#discussion_r92749892"},"pull_request":{"href":"https://api.github.com/repos/laradock/laradock/pulls/487"}}},"pull_request":{"url":"https://api.github.com/repos/laradock/laradock/pulls/487","id":98172118,"html_url":"https://github.com/laradock/laradock/pull/487","diff_url":"https://github.com/laradock/laradock/pull/487.diff","patch_url":"https://github.com/laradock/laradock/pull/487.patch","issue_url":"https://api.github.com/repos/laradock/laradock/issues/487","number":487,"state":"open","locked":false,"title":"Laradock CLI Helper allow much simple use command line tools like npm…","user":{"login":"dlnsk","id":332778,"avatar_url":"https://avatars.githubusercontent.com/u/332778?v=3","gravatar_id":"","url":"https://api.github.com/users/dlnsk","html_url":"https://github.com/dlnsk","followers_url":"https://api.github.com/users/dlnsk/followers","following_url":"https://api.github.com/users/dlnsk/following{/other_user}","gists_url":"https://api.github.com/users/dlnsk/gists{/gist_id}","starred_url":"https://api.github.com/users/dlnsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlnsk/subscriptions","organizations_url":"https://api.github.com/users/dlnsk/orgs","repos_url":"https://api.github.com/users/dlnsk/repos","events_url":"https://api.github.com/users/dlnsk/events{/privacy}","received_events_url":"https://api.github.com/users/dlnsk/received_events","type":"User","site_admin":false},"body":"Laradock CLI Helper allow much simple use command line tools (from container) like npm, composer, gulp, bower etc. with your projects.\r\n\r\nYou need to use multisites configuration like (structure inside container after linking):\r\n/var/www/project1\r\n/var/www/project2\r\n...\r\n\r\n**Step 1** (install soft link in PATH folder):\r\ncd laradock\r\nsudo ldk install\r\n\r\n**Step 2** (using):\r\ncd ~/MyProjects/project1\r\nldk composer install   // Use composer to install dependencies\r\nldk composer <any_composer_command>\r\nldk artisan <any_artisan_command>\r\nldk npm <any_command>\r\nldk bower <any_command>\r\nldk gulp <any_command>\r\n\r\nPS: You can rename script as you like.","created_at":"2016-12-15T15:30:11Z","updated_at":"2016-12-16T04:10:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a4e6e9e3f70394a76e43eac4282bf93e0f31c0c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/laradock/laradock/pulls/487/commits","review_comments_url":"https://api.github.com/repos/laradock/laradock/pulls/487/comments","review_comment_url":"https://api.github.com/repos/laradock/laradock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laradock/laradock/issues/487/comments","statuses_url":"https://api.github.com/repos/laradock/laradock/statuses/12d2c5da92bfd198c873f7d97245d274cccbb129","head":{"label":"dlnsk:laradock_cli_helper","ref":"laradock_cli_helper","sha":"12d2c5da92bfd198c873f7d97245d274cccbb129","user":{"login":"dlnsk","id":332778,"avatar_url":"https://avatars.githubusercontent.com/u/332778?v=3","gravatar_id":"","url":"https://api.github.com/users/dlnsk","html_url":"https://github.com/dlnsk","followers_url":"https://api.github.com/users/dlnsk/followers","following_url":"https://api.github.com/users/dlnsk/following{/other_user}","gists_url":"https://api.github.com/users/dlnsk/gists{/gist_id}","starred_url":"https://api.github.com/users/dlnsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlnsk/subscriptions","organizations_url":"https://api.github.com/users/dlnsk/orgs","repos_url":"https://api.github.com/users/dlnsk/repos","events_url":"https://api.github.com/users/dlnsk/events{/privacy}","received_events_url":"https://api.github.com/users/dlnsk/received_events","type":"User","site_admin":false},"repo":{"id":73902837,"name":"laradock","full_name":"dlnsk/laradock","owner":{"login":"dlnsk","id":332778,"avatar_url":"https://avatars.githubusercontent.com/u/332778?v=3","gravatar_id":"","url":"https://api.github.com/users/dlnsk","html_url":"https://github.com/dlnsk","followers_url":"https://api.github.com/users/dlnsk/followers","following_url":"https://api.github.com/users/dlnsk/following{/other_user}","gists_url":"https://api.github.com/users/dlnsk/gists{/gist_id}","starred_url":"https://api.github.com/users/dlnsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlnsk/subscriptions","organizations_url":"https://api.github.com/users/dlnsk/orgs","repos_url":"https://api.github.com/users/dlnsk/repos","events_url":"https://api.github.com/users/dlnsk/events{/privacy}","received_events_url":"https://api.github.com/users/dlnsk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dlnsk/laradock","description":"A Docker PHP development environment.","fork":true,"url":"https://api.github.com/repos/dlnsk/laradock","forks_url":"https://api.github.com/repos/dlnsk/laradock/forks","keys_url":"https://api.github.com/repos/dlnsk/laradock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlnsk/laradock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlnsk/laradock/teams","hooks_url":"https://api.github.com/repos/dlnsk/laradock/hooks","issue_events_url":"https://api.github.com/repos/dlnsk/laradock/issues/events{/number}","events_url":"https://api.github.com/repos/dlnsk/laradock/events","assignees_url":"https://api.github.com/repos/dlnsk/laradock/assignees{/user}","branches_url":"https://api.github.com/repos/dlnsk/laradock/branches{/branch}","tags_url":"https://api.github.com/repos/dlnsk/laradock/tags","blobs_url":"https://api.github.com/repos/dlnsk/laradock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlnsk/laradock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlnsk/laradock/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlnsk/laradock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlnsk/laradock/statuses/{sha}","languages_url":"https://api.github.com/repos/dlnsk/laradock/languages","stargazers_url":"https://api.github.com/repos/dlnsk/laradock/stargazers","contributors_url":"https://api.github.com/repos/dlnsk/laradock/contributors","subscribers_url":"https://api.github.com/repos/dlnsk/laradock/subscribers","subscription_url":"https://api.github.com/repos/dlnsk/laradock/subscription","commits_url":"https://api.github.com/repos/dlnsk/laradock/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlnsk/laradock/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlnsk/laradock/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlnsk/laradock/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlnsk/laradock/contents/{+path}","compare_url":"https://api.github.com/repos/dlnsk/laradock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlnsk/laradock/merges","archive_url":"https://api.github.com/repos/dlnsk/laradock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlnsk/laradock/downloads","issues_url":"https://api.github.com/repos/dlnsk/laradock/issues{/number}","pulls_url":"https://api.github.com/repos/dlnsk/laradock/pulls{/number}","milestones_url":"https://api.github.com/repos/dlnsk/laradock/milestones{/number}","notifications_url":"https://api.github.com/repos/dlnsk/laradock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlnsk/laradock/labels{/name}","releases_url":"https://api.github.com/repos/dlnsk/laradock/releases{/id}","deployments_url":"https://api.github.com/repos/dlnsk/laradock/deployments","created_at":"2016-11-16T09:08:48Z","updated_at":"2016-11-16T09:08:50Z","pushed_at":"2016-12-16T03:15:53Z","git_url":"git://github.com/dlnsk/laradock.git","ssh_url":"git@github.com:dlnsk/laradock.git","clone_url":"https://github.com/dlnsk/laradock.git","svn_url":"https://github.com/dlnsk/laradock","homepage":"","size":1276,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"laradock:master","ref":"master","sha":"9d60dad2225f923f928e8de88d5645d4a4d17acf","user":{"login":"laradock","id":13902473,"avatar_url":"https://avatars.githubusercontent.com/u/13902473?v=3","gravatar_id":"","url":"https://api.github.com/users/laradock","html_url":"https://github.com/laradock","followers_url":"https://api.github.com/users/laradock/followers","following_url":"https://api.github.com/users/laradock/following{/other_user}","gists_url":"https://api.github.com/users/laradock/gists{/gist_id}","starred_url":"https://api.github.com/users/laradock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laradock/subscriptions","organizations_url":"https://api.github.com/users/laradock/orgs","repos_url":"https://api.github.com/users/laradock/repos","events_url":"https://api.github.com/users/laradock/events{/privacy}","received_events_url":"https://api.github.com/users/laradock/received_events","type":"Organization","site_admin":false},"repo":{"id":41152295,"name":"laradock","full_name":"laradock/laradock","owner":{"login":"laradock","id":13902473,"avatar_url":"https://avatars.githubusercontent.com/u/13902473?v=3","gravatar_id":"","url":"https://api.github.com/users/laradock","html_url":"https://github.com/laradock","followers_url":"https://api.github.com/users/laradock/followers","following_url":"https://api.github.com/users/laradock/following{/other_user}","gists_url":"https://api.github.com/users/laradock/gists{/gist_id}","starred_url":"https://api.github.com/users/laradock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laradock/subscriptions","organizations_url":"https://api.github.com/users/laradock/orgs","repos_url":"https://api.github.com/users/laradock/repos","events_url":"https://api.github.com/users/laradock/events{/privacy}","received_events_url":"https://api.github.com/users/laradock/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laradock/laradock","description":"A Docker PHP development environment.","fork":false,"url":"https://api.github.com/repos/laradock/laradock","forks_url":"https://api.github.com/repos/laradock/laradock/forks","keys_url":"https://api.github.com/repos/laradock/laradock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laradock/laradock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laradock/laradock/teams","hooks_url":"https://api.github.com/repos/laradock/laradock/hooks","issue_events_url":"https://api.github.com/repos/laradock/laradock/issues/events{/number}","events_url":"https://api.github.com/repos/laradock/laradock/events","assignees_url":"https://api.github.com/repos/laradock/laradock/assignees{/user}","branches_url":"https://api.github.com/repos/laradock/laradock/branches{/branch}","tags_url":"https://api.github.com/repos/laradock/laradock/tags","blobs_url":"https://api.github.com/repos/laradock/laradock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laradock/laradock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laradock/laradock/git/refs{/sha}","trees_url":"https://api.github.com/repos/laradock/laradock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laradock/laradock/statuses/{sha}","languages_url":"https://api.github.com/repos/laradock/laradock/languages","stargazers_url":"https://api.github.com/repos/laradock/laradock/stargazers","contributors_url":"https://api.github.com/repos/laradock/laradock/contributors","subscribers_url":"https://api.github.com/repos/laradock/laradock/subscribers","subscription_url":"https://api.github.com/repos/laradock/laradock/subscription","commits_url":"https://api.github.com/repos/laradock/laradock/commits{/sha}","git_commits_url":"https://api.github.com/repos/laradock/laradock/git/commits{/sha}","comments_url":"https://api.github.com/repos/laradock/laradock/comments{/number}","issue_comment_url":"https://api.github.com/repos/laradock/laradock/issues/comments{/number}","contents_url":"https://api.github.com/repos/laradock/laradock/contents/{+path}","compare_url":"https://api.github.com/repos/laradock/laradock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laradock/laradock/merges","archive_url":"https://api.github.com/repos/laradock/laradock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laradock/laradock/downloads","issues_url":"https://api.github.com/repos/laradock/laradock/issues{/number}","pulls_url":"https://api.github.com/repos/laradock/laradock/pulls{/number}","milestones_url":"https://api.github.com/repos/laradock/laradock/milestones{/number}","notifications_url":"https://api.github.com/repos/laradock/laradock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laradock/laradock/labels{/name}","releases_url":"https://api.github.com/repos/laradock/laradock/releases{/id}","deployments_url":"https://api.github.com/repos/laradock/laradock/deployments","created_at":"2015-08-21T11:25:55Z","updated_at":"2016-12-16T01:55:21Z","pushed_at":"2016-12-16T03:15:54Z","git_url":"git://github.com/laradock/laradock.git","ssh_url":"git@github.com:laradock/laradock.git","clone_url":"https://github.com/laradock/laradock.git","svn_url":"https://github.com/laradock/laradock","homepage":"","size":1279,"stargazers_count":1802,"watchers_count":1802,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":492,"mirror_url":null,"open_issues_count":63,"forks":492,"open_issues":63,"watchers":1802,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laradock/laradock/pulls/487"},"html":{"href":"https://github.com/laradock/laradock/pull/487"},"issue":{"href":"https://api.github.com/repos/laradock/laradock/issues/487"},"comments":{"href":"https://api.github.com/repos/laradock/laradock/issues/487/comments"},"review_comments":{"href":"https://api.github.com/repos/laradock/laradock/pulls/487/comments"},"review_comment":{"href":"https://api.github.com/repos/laradock/laradock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laradock/laradock/pulls/487/commits"},"statuses":{"href":"https://api.github.com/repos/laradock/laradock/statuses/12d2c5da92bfd198c873f7d97245d274cccbb129"}}}}
{"actor":{"display_login":"appleboy"}}