{"action":"created","comment":{"url":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/comments/92404737","pull_request_review_id":12918583,"id":92404737,"diff_hunk":"@@ -2,18 +2,19 @@ FROM unocha/alpine-base-nodejs:latest\n \n MAINTAINER Serban Teodorescu <teodorescu.serban@gmail.com>\n \n-ENV NODE_APP_DIR=/srv/www\n+ENV NODE_APP_DIR=/srv/www \\\n+    PORT=3000\n \n-COPY run_node package.json server.js /\n+COPY run_node package.json server.js /tmp/","path":"alpine-nodejs/Dockerfile","position":9,"original_position":9,"commit_id":"6e7a2e9a39e0a137a5fc8abdbe577ccb50641ec1","original_commit_id":"6e7a2e9a39e0a137a5fc8abdbe577ccb50641ec1","user":{"login":"teodorescuserban","id":1542984,"avatar_url":"https://avatars.githubusercontent.com/u/1542984?v=3","gravatar_id":"","url":"https://api.github.com/users/teodorescuserban","html_url":"https://github.com/teodorescuserban","followers_url":"https://api.github.com/users/teodorescuserban/followers","following_url":"https://api.github.com/users/teodorescuserban/following{/other_user}","gists_url":"https://api.github.com/users/teodorescuserban/gists{/gist_id}","starred_url":"https://api.github.com/users/teodorescuserban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teodorescuserban/subscriptions","organizations_url":"https://api.github.com/users/teodorescuserban/orgs","repos_url":"https://api.github.com/users/teodorescuserban/repos","events_url":"https://api.github.com/users/teodorescuserban/events{/privacy}","received_events_url":"https://api.github.com/users/teodorescuserban/received_events","type":"User","site_admin":false},"body":"Copied to /tmp instead or / to overcome a bug in certain docker version when building.\r\n","created_at":"2016-12-14T14:36:51Z","updated_at":"2016-12-14T14:36:51Z","html_url":"https://github.com/UN-OCHA/docker-images/pull/104#discussion_r92404737","pull_request_url":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/comments/92404737"},"html":{"href":"https://github.com/UN-OCHA/docker-images/pull/104#discussion_r92404737"},"pull_request":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/104","id":97924260,"html_url":"https://github.com/UN-OCHA/docker-images/pull/104","diff_url":"https://github.com/UN-OCHA/docker-images/pull/104.diff","patch_url":"https://github.com/UN-OCHA/docker-images/pull/104.patch","issue_url":"https://api.github.com/repos/UN-OCHA/docker-images/issues/104","number":104,"state":"open","locked":false,"title":"added new relic to base-nodejs image.","user":{"login":"teodorescuserban","id":1542984,"avatar_url":"https://avatars.githubusercontent.com/u/1542984?v=3","gravatar_id":"","url":"https://api.github.com/users/teodorescuserban","html_url":"https://github.com/teodorescuserban","followers_url":"https://api.github.com/users/teodorescuserban/followers","following_url":"https://api.github.com/users/teodorescuserban/following{/other_user}","gists_url":"https://api.github.com/users/teodorescuserban/gists{/gist_id}","starred_url":"https://api.github.com/users/teodorescuserban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teodorescuserban/subscriptions","organizations_url":"https://api.github.com/users/teodorescuserban/orgs","repos_url":"https://api.github.com/users/teodorescuserban/repos","events_url":"https://api.github.com/users/teodorescuserban/events{/privacy}","received_events_url":"https://api.github.com/users/teodorescuserban/received_events","type":"User","site_admin":false},"body":"add new relic package\r\nadd env vars for app name, licence key and log level\r\nadd env var to disable usage of newrelic.js configuration file (all needed it will come from env vars above)\r\n\r\nOnce specific env vars are being injected into the docker container at creation time, the only thing left to be able to use new relic is that each app needs to add ```require('newrelic');``` as the first line of the app's main module.\r\n","created_at":"2016-12-14T10:25:44Z","updated_at":"2016-12-14T14:36:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25ad049102eca90b90e4aa70d9c4157fe4fa4334","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/104/commits","review_comments_url":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/104/comments","review_comment_url":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UN-OCHA/docker-images/issues/104/comments","statuses_url":"https://api.github.com/repos/UN-OCHA/docker-images/statuses/6e7a2e9a39e0a137a5fc8abdbe577ccb50641ec1","head":{"label":"UN-OCHA:add-new-relic-to-nodejs","ref":"add-new-relic-to-nodejs","sha":"6e7a2e9a39e0a137a5fc8abdbe577ccb50641ec1","user":{"login":"UN-OCHA","id":7985843,"avatar_url":"https://avatars.githubusercontent.com/u/7985843?v=3","gravatar_id":"","url":"https://api.github.com/users/UN-OCHA","html_url":"https://github.com/UN-OCHA","followers_url":"https://api.github.com/users/UN-OCHA/followers","following_url":"https://api.github.com/users/UN-OCHA/following{/other_user}","gists_url":"https://api.github.com/users/UN-OCHA/gists{/gist_id}","starred_url":"https://api.github.com/users/UN-OCHA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UN-OCHA/subscriptions","organizations_url":"https://api.github.com/users/UN-OCHA/orgs","repos_url":"https://api.github.com/users/UN-OCHA/repos","events_url":"https://api.github.com/users/UN-OCHA/events{/privacy}","received_events_url":"https://api.github.com/users/UN-OCHA/received_events","type":"Organization","site_admin":false},"repo":{"id":57809530,"name":"docker-images","full_name":"UN-OCHA/docker-images","owner":{"login":"UN-OCHA","id":7985843,"avatar_url":"https://avatars.githubusercontent.com/u/7985843?v=3","gravatar_id":"","url":"https://api.github.com/users/UN-OCHA","html_url":"https://github.com/UN-OCHA","followers_url":"https://api.github.com/users/UN-OCHA/followers","following_url":"https://api.github.com/users/UN-OCHA/following{/other_user}","gists_url":"https://api.github.com/users/UN-OCHA/gists{/gist_id}","starred_url":"https://api.github.com/users/UN-OCHA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UN-OCHA/subscriptions","organizations_url":"https://api.github.com/users/UN-OCHA/orgs","repos_url":"https://api.github.com/users/UN-OCHA/repos","events_url":"https://api.github.com/users/UN-OCHA/events{/privacy}","received_events_url":"https://api.github.com/users/UN-OCHA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UN-OCHA/docker-images","description":"Generic docker image builds","fork":false,"url":"https://api.github.com/repos/UN-OCHA/docker-images","forks_url":"https://api.github.com/repos/UN-OCHA/docker-images/forks","keys_url":"https://api.github.com/repos/UN-OCHA/docker-images/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UN-OCHA/docker-images/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UN-OCHA/docker-images/teams","hooks_url":"https://api.github.com/repos/UN-OCHA/docker-images/hooks","issue_events_url":"https://api.github.com/repos/UN-OCHA/docker-images/issues/events{/number}","events_url":"https://api.github.com/repos/UN-OCHA/docker-images/events","assignees_url":"https://api.github.com/repos/UN-OCHA/docker-images/assignees{/user}","branches_url":"https://api.github.com/repos/UN-OCHA/docker-images/branches{/branch}","tags_url":"https://api.github.com/repos/UN-OCHA/docker-images/tags","blobs_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/refs{/sha}","trees_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UN-OCHA/docker-images/statuses/{sha}","languages_url":"https://api.github.com/repos/UN-OCHA/docker-images/languages","stargazers_url":"https://api.github.com/repos/UN-OCHA/docker-images/stargazers","contributors_url":"https://api.github.com/repos/UN-OCHA/docker-images/contributors","subscribers_url":"https://api.github.com/repos/UN-OCHA/docker-images/subscribers","subscription_url":"https://api.github.com/repos/UN-OCHA/docker-images/subscription","commits_url":"https://api.github.com/repos/UN-OCHA/docker-images/commits{/sha}","git_commits_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/commits{/sha}","comments_url":"https://api.github.com/repos/UN-OCHA/docker-images/comments{/number}","issue_comment_url":"https://api.github.com/repos/UN-OCHA/docker-images/issues/comments{/number}","contents_url":"https://api.github.com/repos/UN-OCHA/docker-images/contents/{+path}","compare_url":"https://api.github.com/repos/UN-OCHA/docker-images/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UN-OCHA/docker-images/merges","archive_url":"https://api.github.com/repos/UN-OCHA/docker-images/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UN-OCHA/docker-images/downloads","issues_url":"https://api.github.com/repos/UN-OCHA/docker-images/issues{/number}","pulls_url":"https://api.github.com/repos/UN-OCHA/docker-images/pulls{/number}","milestones_url":"https://api.github.com/repos/UN-OCHA/docker-images/milestones{/number}","notifications_url":"https://api.github.com/repos/UN-OCHA/docker-images/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UN-OCHA/docker-images/labels{/name}","releases_url":"https://api.github.com/repos/UN-OCHA/docker-images/releases{/id}","deployments_url":"https://api.github.com/repos/UN-OCHA/docker-images/deployments","created_at":"2016-05-01T20:36:44Z","updated_at":"2016-12-06T00:33:48Z","pushed_at":"2016-12-14T14:35:41Z","git_url":"git://github.com/UN-OCHA/docker-images.git","ssh_url":"git@github.com:UN-OCHA/docker-images.git","clone_url":"https://github.com/UN-OCHA/docker-images.git","svn_url":"https://github.com/UN-OCHA/docker-images","homepage":null,"size":7069,"stargazers_count":3,"watchers_count":3,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"UN-OCHA:master","ref":"master","sha":"7efa6d469a96751d75b2c30230ef3253636cdb3c","user":{"login":"UN-OCHA","id":7985843,"avatar_url":"https://avatars.githubusercontent.com/u/7985843?v=3","gravatar_id":"","url":"https://api.github.com/users/UN-OCHA","html_url":"https://github.com/UN-OCHA","followers_url":"https://api.github.com/users/UN-OCHA/followers","following_url":"https://api.github.com/users/UN-OCHA/following{/other_user}","gists_url":"https://api.github.com/users/UN-OCHA/gists{/gist_id}","starred_url":"https://api.github.com/users/UN-OCHA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UN-OCHA/subscriptions","organizations_url":"https://api.github.com/users/UN-OCHA/orgs","repos_url":"https://api.github.com/users/UN-OCHA/repos","events_url":"https://api.github.com/users/UN-OCHA/events{/privacy}","received_events_url":"https://api.github.com/users/UN-OCHA/received_events","type":"Organization","site_admin":false},"repo":{"id":57809530,"name":"docker-images","full_name":"UN-OCHA/docker-images","owner":{"login":"UN-OCHA","id":7985843,"avatar_url":"https://avatars.githubusercontent.com/u/7985843?v=3","gravatar_id":"","url":"https://api.github.com/users/UN-OCHA","html_url":"https://github.com/UN-OCHA","followers_url":"https://api.github.com/users/UN-OCHA/followers","following_url":"https://api.github.com/users/UN-OCHA/following{/other_user}","gists_url":"https://api.github.com/users/UN-OCHA/gists{/gist_id}","starred_url":"https://api.github.com/users/UN-OCHA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UN-OCHA/subscriptions","organizations_url":"https://api.github.com/users/UN-OCHA/orgs","repos_url":"https://api.github.com/users/UN-OCHA/repos","events_url":"https://api.github.com/users/UN-OCHA/events{/privacy}","received_events_url":"https://api.github.com/users/UN-OCHA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UN-OCHA/docker-images","description":"Generic docker image builds","fork":false,"url":"https://api.github.com/repos/UN-OCHA/docker-images","forks_url":"https://api.github.com/repos/UN-OCHA/docker-images/forks","keys_url":"https://api.github.com/repos/UN-OCHA/docker-images/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UN-OCHA/docker-images/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UN-OCHA/docker-images/teams","hooks_url":"https://api.github.com/repos/UN-OCHA/docker-images/hooks","issue_events_url":"https://api.github.com/repos/UN-OCHA/docker-images/issues/events{/number}","events_url":"https://api.github.com/repos/UN-OCHA/docker-images/events","assignees_url":"https://api.github.com/repos/UN-OCHA/docker-images/assignees{/user}","branches_url":"https://api.github.com/repos/UN-OCHA/docker-images/branches{/branch}","tags_url":"https://api.github.com/repos/UN-OCHA/docker-images/tags","blobs_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/refs{/sha}","trees_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UN-OCHA/docker-images/statuses/{sha}","languages_url":"https://api.github.com/repos/UN-OCHA/docker-images/languages","stargazers_url":"https://api.github.com/repos/UN-OCHA/docker-images/stargazers","contributors_url":"https://api.github.com/repos/UN-OCHA/docker-images/contributors","subscribers_url":"https://api.github.com/repos/UN-OCHA/docker-images/subscribers","subscription_url":"https://api.github.com/repos/UN-OCHA/docker-images/subscription","commits_url":"https://api.github.com/repos/UN-OCHA/docker-images/commits{/sha}","git_commits_url":"https://api.github.com/repos/UN-OCHA/docker-images/git/commits{/sha}","comments_url":"https://api.github.com/repos/UN-OCHA/docker-images/comments{/number}","issue_comment_url":"https://api.github.com/repos/UN-OCHA/docker-images/issues/comments{/number}","contents_url":"https://api.github.com/repos/UN-OCHA/docker-images/contents/{+path}","compare_url":"https://api.github.com/repos/UN-OCHA/docker-images/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UN-OCHA/docker-images/merges","archive_url":"https://api.github.com/repos/UN-OCHA/docker-images/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UN-OCHA/docker-images/downloads","issues_url":"https://api.github.com/repos/UN-OCHA/docker-images/issues{/number}","pulls_url":"https://api.github.com/repos/UN-OCHA/docker-images/pulls{/number}","milestones_url":"https://api.github.com/repos/UN-OCHA/docker-images/milestones{/number}","notifications_url":"https://api.github.com/repos/UN-OCHA/docker-images/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UN-OCHA/docker-images/labels{/name}","releases_url":"https://api.github.com/repos/UN-OCHA/docker-images/releases{/id}","deployments_url":"https://api.github.com/repos/UN-OCHA/docker-images/deployments","created_at":"2016-05-01T20:36:44Z","updated_at":"2016-12-06T00:33:48Z","pushed_at":"2016-12-14T14:35:41Z","git_url":"git://github.com/UN-OCHA/docker-images.git","ssh_url":"git@github.com:UN-OCHA/docker-images.git","clone_url":"https://github.com/UN-OCHA/docker-images.git","svn_url":"https://github.com/UN-OCHA/docker-images","homepage":null,"size":7069,"stargazers_count":3,"watchers_count":3,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/104"},"html":{"href":"https://github.com/UN-OCHA/docker-images/pull/104"},"issue":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/issues/104"},"comments":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/UN-OCHA/docker-images/statuses/6e7a2e9a39e0a137a5fc8abdbe577ccb50641ec1"}}}}
{"actor":{"display_login":"teodorescuserban"}}