{"action":"created","comment":{"url":"https://api.github.com/repos/scrapinghub/shub-image/pulls/comments/79827793","id":79827793,"diff_hunk":"@@ -17,6 +17,7 @@\n     \"WORKDIR %s\" % DOCKER_APP_DIR,\n     \"$requirements\",\n     \"COPY . %s\" % DOCKER_APP_DIR,\n+    \"RUN cd %s && python setup.py install\" % DOCKER_APP_DIR,","path":"shub_image/init.py","position":4,"original_position":4,"commit_id":"531e67e948221d285d2efe746256e5f4974aca6d","original_commit_id":"531e67e948221d285d2efe746256e5f4974aca6d","user":{"login":"chekunkov","id":744331,"avatar_url":"https://avatars.githubusercontent.com/u/744331?v=3","gravatar_id":"","url":"https://api.github.com/users/chekunkov","html_url":"https://github.com/chekunkov","followers_url":"https://api.github.com/users/chekunkov/followers","following_url":"https://api.github.com/users/chekunkov/following{/other_user}","gists_url":"https://api.github.com/users/chekunkov/gists{/gist_id}","starred_url":"https://api.github.com/users/chekunkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chekunkov/subscriptions","organizations_url":"https://api.github.com/users/chekunkov/orgs","repos_url":"https://api.github.com/users/chekunkov/repos","events_url":"https://api.github.com/users/chekunkov/events{/privacy}","received_events_url":"https://api.github.com/users/chekunkov/received_events","type":"User","site_admin":false},"body":"> The WORKDIR instruction sets the working directory for any RUN, CMD, ENTRYPOINT, COPY and ADD instructions that follow it in the Dockerfile\r\n\r\nwhy you need cd?","created_at":"2016-09-21T13:05:53Z","updated_at":"2016-09-21T13:05:53Z","html_url":"https://github.com/scrapinghub/shub-image/pull/19#discussion_r79827793","pull_request_url":"https://api.github.com/repos/scrapinghub/shub-image/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/scrapinghub/shub-image/pulls/comments/79827793"},"html":{"href":"https://github.com/scrapinghub/shub-image/pull/19#discussion_r79827793"},"pull_request":{"href":"https://api.github.com/repos/scrapinghub/shub-image/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/scrapinghub/shub-image/pulls/19","id":86142338,"html_url":"https://github.com/scrapinghub/shub-image/pull/19","diff_url":"https://github.com/scrapinghub/shub-image/pull/19.diff","patch_url":"https://github.com/scrapinghub/shub-image/pull/19.patch","issue_url":"https://api.github.com/repos/scrapinghub/shub-image/issues/19","number":19,"state":"open","locked":false,"title":"Update recommended Dockerfile","user":{"login":"vshlapakov","id":448111,"avatar_url":"https://avatars.githubusercontent.com/u/448111?v=3","gravatar_id":"","url":"https://api.github.com/users/vshlapakov","html_url":"https://github.com/vshlapakov","followers_url":"https://api.github.com/users/vshlapakov/followers","following_url":"https://api.github.com/users/vshlapakov/following{/other_user}","gists_url":"https://api.github.com/users/vshlapakov/gists{/gist_id}","starred_url":"https://api.github.com/users/vshlapakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vshlapakov/subscriptions","organizations_url":"https://api.github.com/users/vshlapakov/orgs","repos_url":"https://api.github.com/users/vshlapakov/repos","events_url":"https://api.github.com/users/vshlapakov/events{/privacy}","received_events_url":"https://api.github.com/users/vshlapakov/received_events","type":"User","site_admin":false},"body":"The PR fixes discovering logic for custom python scripts.\r\n\r\nReview, please.","created_at":"2016-09-21T11:12:36Z","updated_at":"2016-09-21T13:24:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2964828d4361c594cef70e40877cb9c6f1265339","assignee":{"login":"chekunkov","id":744331,"avatar_url":"https://avatars.githubusercontent.com/u/744331?v=3","gravatar_id":"","url":"https://api.github.com/users/chekunkov","html_url":"https://github.com/chekunkov","followers_url":"https://api.github.com/users/chekunkov/followers","following_url":"https://api.github.com/users/chekunkov/following{/other_user}","gists_url":"https://api.github.com/users/chekunkov/gists{/gist_id}","starred_url":"https://api.github.com/users/chekunkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chekunkov/subscriptions","organizations_url":"https://api.github.com/users/chekunkov/orgs","repos_url":"https://api.github.com/users/chekunkov/repos","events_url":"https://api.github.com/users/chekunkov/events{/privacy}","received_events_url":"https://api.github.com/users/chekunkov/received_events","type":"User","site_admin":false},"assignees":[{"login":"chekunkov","id":744331,"avatar_url":"https://avatars.githubusercontent.com/u/744331?v=3","gravatar_id":"","url":"https://api.github.com/users/chekunkov","html_url":"https://github.com/chekunkov","followers_url":"https://api.github.com/users/chekunkov/followers","following_url":"https://api.github.com/users/chekunkov/following{/other_user}","gists_url":"https://api.github.com/users/chekunkov/gists{/gist_id}","starred_url":"https://api.github.com/users/chekunkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chekunkov/subscriptions","organizations_url":"https://api.github.com/users/chekunkov/orgs","repos_url":"https://api.github.com/users/chekunkov/repos","events_url":"https://api.github.com/users/chekunkov/events{/privacy}","received_events_url":"https://api.github.com/users/chekunkov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/scrapinghub/shub-image/pulls/19/commits","review_comments_url":"https://api.github.com/repos/scrapinghub/shub-image/pulls/19/comments","review_comment_url":"https://api.github.com/repos/scrapinghub/shub-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scrapinghub/shub-image/issues/19/comments","statuses_url":"https://api.github.com/repos/scrapinghub/shub-image/statuses/531e67e948221d285d2efe746256e5f4974aca6d","head":{"label":"scrapinghub:updated-dfile","ref":"updated-dfile","sha":"531e67e948221d285d2efe746256e5f4974aca6d","user":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"repo":{"id":52602708,"name":"shub-image","full_name":"scrapinghub/shub-image","owner":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scrapinghub/shub-image","description":"Client side tool to prepare docker images to run crawlers in Scrapinghub","fork":false,"url":"https://api.github.com/repos/scrapinghub/shub-image","forks_url":"https://api.github.com/repos/scrapinghub/shub-image/forks","keys_url":"https://api.github.com/repos/scrapinghub/shub-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapinghub/shub-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapinghub/shub-image/teams","hooks_url":"https://api.github.com/repos/scrapinghub/shub-image/hooks","issue_events_url":"https://api.github.com/repos/scrapinghub/shub-image/issues/events{/number}","events_url":"https://api.github.com/repos/scrapinghub/shub-image/events","assignees_url":"https://api.github.com/repos/scrapinghub/shub-image/assignees{/user}","branches_url":"https://api.github.com/repos/scrapinghub/shub-image/branches{/branch}","tags_url":"https://api.github.com/repos/scrapinghub/shub-image/tags","blobs_url":"https://api.github.com/repos/scrapinghub/shub-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapinghub/shub-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapinghub/shub-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapinghub/shub-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapinghub/shub-image/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapinghub/shub-image/languages","stargazers_url":"https://api.github.com/repos/scrapinghub/shub-image/stargazers","contributors_url":"https://api.github.com/repos/scrapinghub/shub-image/contributors","subscribers_url":"https://api.github.com/repos/scrapinghub/shub-image/subscribers","subscription_url":"https://api.github.com/repos/scrapinghub/shub-image/subscription","commits_url":"https://api.github.com/repos/scrapinghub/shub-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapinghub/shub-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapinghub/shub-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapinghub/shub-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/scrapinghub/shub-image/contents/{+path}","compare_url":"https://api.github.com/repos/scrapinghub/shub-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapinghub/shub-image/merges","archive_url":"https://api.github.com/repos/scrapinghub/shub-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapinghub/shub-image/downloads","issues_url":"https://api.github.com/repos/scrapinghub/shub-image/issues{/number}","pulls_url":"https://api.github.com/repos/scrapinghub/shub-image/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapinghub/shub-image/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapinghub/shub-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapinghub/shub-image/labels{/name}","releases_url":"https://api.github.com/repos/scrapinghub/shub-image/releases{/id}","deployments_url":"https://api.github.com/repos/scrapinghub/shub-image/deployments","created_at":"2016-02-26T12:23:13Z","updated_at":"2016-09-08T13:51:35Z","pushed_at":"2016-09-21T11:23:58Z","git_url":"git://github.com/scrapinghub/shub-image.git","ssh_url":"git@github.com:scrapinghub/shub-image.git","clone_url":"https://github.com/scrapinghub/shub-image.git","svn_url":"https://github.com/scrapinghub/shub-image","homepage":"","size":87,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"scrapinghub:master","ref":"master","sha":"9096daef32585388ec7a5024256dc470fa8f5c19","user":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"repo":{"id":52602708,"name":"shub-image","full_name":"scrapinghub/shub-image","owner":{"login":"scrapinghub","id":699596,"avatar_url":"https://avatars.githubusercontent.com/u/699596?v=3","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scrapinghub/shub-image","description":"Client side tool to prepare docker images to run crawlers in Scrapinghub","fork":false,"url":"https://api.github.com/repos/scrapinghub/shub-image","forks_url":"https://api.github.com/repos/scrapinghub/shub-image/forks","keys_url":"https://api.github.com/repos/scrapinghub/shub-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapinghub/shub-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapinghub/shub-image/teams","hooks_url":"https://api.github.com/repos/scrapinghub/shub-image/hooks","issue_events_url":"https://api.github.com/repos/scrapinghub/shub-image/issues/events{/number}","events_url":"https://api.github.com/repos/scrapinghub/shub-image/events","assignees_url":"https://api.github.com/repos/scrapinghub/shub-image/assignees{/user}","branches_url":"https://api.github.com/repos/scrapinghub/shub-image/branches{/branch}","tags_url":"https://api.github.com/repos/scrapinghub/shub-image/tags","blobs_url":"https://api.github.com/repos/scrapinghub/shub-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapinghub/shub-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapinghub/shub-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapinghub/shub-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapinghub/shub-image/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapinghub/shub-image/languages","stargazers_url":"https://api.github.com/repos/scrapinghub/shub-image/stargazers","contributors_url":"https://api.github.com/repos/scrapinghub/shub-image/contributors","subscribers_url":"https://api.github.com/repos/scrapinghub/shub-image/subscribers","subscription_url":"https://api.github.com/repos/scrapinghub/shub-image/subscription","commits_url":"https://api.github.com/repos/scrapinghub/shub-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapinghub/shub-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapinghub/shub-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapinghub/shub-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/scrapinghub/shub-image/contents/{+path}","compare_url":"https://api.github.com/repos/scrapinghub/shub-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapinghub/shub-image/merges","archive_url":"https://api.github.com/repos/scrapinghub/shub-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapinghub/shub-image/downloads","issues_url":"https://api.github.com/repos/scrapinghub/shub-image/issues{/number}","pulls_url":"https://api.github.com/repos/scrapinghub/shub-image/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapinghub/shub-image/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapinghub/shub-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapinghub/shub-image/labels{/name}","releases_url":"https://api.github.com/repos/scrapinghub/shub-image/releases{/id}","deployments_url":"https://api.github.com/repos/scrapinghub/shub-image/deployments","created_at":"2016-02-26T12:23:13Z","updated_at":"2016-09-08T13:51:35Z","pushed_at":"2016-09-21T11:23:58Z","git_url":"git://github.com/scrapinghub/shub-image.git","ssh_url":"git@github.com:scrapinghub/shub-image.git","clone_url":"https://github.com/scrapinghub/shub-image.git","svn_url":"https://github.com/scrapinghub/shub-image","homepage":"","size":87,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scrapinghub/shub-image/pulls/19"},"html":{"href":"https://github.com/scrapinghub/shub-image/pull/19"},"issue":{"href":"https://api.github.com/repos/scrapinghub/shub-image/issues/19"},"comments":{"href":"https://api.github.com/repos/scrapinghub/shub-image/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/scrapinghub/shub-image/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/scrapinghub/shub-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scrapinghub/shub-image/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/scrapinghub/shub-image/statuses/531e67e948221d285d2efe746256e5f4974aca6d"}}}}
{"actor":{"display_login":"chekunkov"}}