{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-services/push-messages/pulls/comments/58777680","id":58777680,"diff_hunk":"@@ -0,0 +1,27 @@\n+# Mozilla Push Messages API Server\n+\n+# VERSION    0.1\n+\n+FROM python:2\n+\n+EXPOSE 8000\n+CMD [\"./bin/run-prod.sh\"]\n+\n+MAINTAINER Ben Bangert <bbangert@mozilla.com>\n+\n+WORKDIR /app\n+\n+RUN groupadd --gid 10001 app && \\\n+    useradd --uid 10001 --gid 10001 --shell /usr/sbin/nologin app\n+\n+# Copy requirements for install while additional bits are around\n+COPY requirements.txt /app/requirements.txt\n+RUN pip install -r requirements.txt\n+\n+# Copy in the app\n+COPY . /app\n+\n+# Setup the app\n+RUN python setup.py develop","path":"Dockerfile","position":25,"original_position":25,"commit_id":"0034dc5ca874d51014ea4d3c17eec93a4587e632","original_commit_id":"b8269e2860106fdbd6300f266ccb56ca9e991ef7","user":{"login":"bbangert","id":100193,"avatar_url":"https://avatars.githubusercontent.com/u/100193?v=3","gravatar_id":"","url":"https://api.github.com/users/bbangert","html_url":"https://github.com/bbangert","followers_url":"https://api.github.com/users/bbangert/followers","following_url":"https://api.github.com/users/bbangert/following{/other_user}","gists_url":"https://api.github.com/users/bbangert/gists{/gist_id}","starred_url":"https://api.github.com/users/bbangert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbangert/subscriptions","organizations_url":"https://api.github.com/users/bbangert/orgs","repos_url":"https://api.github.com/users/bbangert/repos","events_url":"https://api.github.com/users/bbangert/events{/privacy}","received_events_url":"https://api.github.com/users/bbangert/received_events","type":"User","site_admin":false},"body":"develop drops a package reference into the Python packages dir so that you can import it, which is what the paste loader does with the INI.","created_at":"2016-04-06T20:39:41Z","updated_at":"2016-04-06T20:39:41Z","html_url":"https://github.com/mozilla-services/push-messages/pull/9#discussion_r58777680","pull_request_url":"https://api.github.com/repos/mozilla-services/push-messages/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/push-messages/pulls/comments/58777680"},"html":{"href":"https://github.com/mozilla-services/push-messages/pull/9#discussion_r58777680"},"pull_request":{"href":"https://api.github.com/repos/mozilla-services/push-messages/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-services/push-messages/pulls/9","id":65504701,"html_url":"https://github.com/mozilla-services/push-messages/pull/9","diff_url":"https://github.com/mozilla-services/push-messages/pull/9.diff","patch_url":"https://github.com/mozilla-services/push-messages/pull/9.patch","issue_url":"https://api.github.com/repos/mozilla-services/push-messages/issues/9","number":9,"state":"open","locked":false,"title":"feat: add dockerized building per Dockerflow specs","user":{"login":"bbangert","id":100193,"avatar_url":"https://avatars.githubusercontent.com/u/100193?v=3","gravatar_id":"","url":"https://api.github.com/users/bbangert","html_url":"https://github.com/bbangert","followers_url":"https://api.github.com/users/bbangert/followers","following_url":"https://api.github.com/users/bbangert/following{/other_user}","gists_url":"https://api.github.com/users/bbangert/gists{/gist_id}","starred_url":"https://api.github.com/users/bbangert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbangert/subscriptions","organizations_url":"https://api.github.com/users/bbangert/orgs","repos_url":"https://api.github.com/users/bbangert/repos","events_url":"https://api.github.com/users/bbangert/events{/privacy}","received_events_url":"https://api.github.com/users/bbangert/received_events","type":"User","site_admin":false},"body":"Add's Dockerfile per Dockerflow specs for Mozilla Cloud Services.\r\n\r\nRefactor of db.py to use a class for more intelligent handling of the\r\nboto3 resources.\r\n\r\nAdd ability to override key settings from env vars per Dockerflow.\r\n\r\nCloses #8 \r\n\r\n@jrconlin r?","created_at":"2016-04-06T17:26:22Z","updated_at":"2016-04-06T20:39:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53704ddf6f34701e59e882039bed38c6e80cc190","assignee":{"login":"jrconlin","id":35755,"avatar_url":"https://avatars.githubusercontent.com/u/35755?v=3","gravatar_id":"","url":"https://api.github.com/users/jrconlin","html_url":"https://github.com/jrconlin","followers_url":"https://api.github.com/users/jrconlin/followers","following_url":"https://api.github.com/users/jrconlin/following{/other_user}","gists_url":"https://api.github.com/users/jrconlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jrconlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrconlin/subscriptions","organizations_url":"https://api.github.com/users/jrconlin/orgs","repos_url":"https://api.github.com/users/jrconlin/repos","events_url":"https://api.github.com/users/jrconlin/events{/privacy}","received_events_url":"https://api.github.com/users/jrconlin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-services/push-messages/pulls/9/commits","review_comments_url":"https://api.github.com/repos/mozilla-services/push-messages/pulls/9/comments","review_comment_url":"https://api.github.com/repos/mozilla-services/push-messages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-services/push-messages/issues/9/comments","statuses_url":"https://api.github.com/repos/mozilla-services/push-messages/statuses/0034dc5ca874d51014ea4d3c17eec93a4587e632","head":{"label":"mozilla-services:feature/issue-8","ref":"feature/issue-8","sha":"0034dc5ca874d51014ea4d3c17eec93a4587e632","user":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"repo":{"id":52697075,"name":"push-messages","full_name":"mozilla-services/push-messages","owner":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-services/push-messages","description":"Push Message API","fork":false,"url":"https://api.github.com/repos/mozilla-services/push-messages","forks_url":"https://api.github.com/repos/mozilla-services/push-messages/forks","keys_url":"https://api.github.com/repos/mozilla-services/push-messages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-services/push-messages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-services/push-messages/teams","hooks_url":"https://api.github.com/repos/mozilla-services/push-messages/hooks","issue_events_url":"https://api.github.com/repos/mozilla-services/push-messages/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-services/push-messages/events","assignees_url":"https://api.github.com/repos/mozilla-services/push-messages/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-services/push-messages/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-services/push-messages/tags","blobs_url":"https://api.github.com/repos/mozilla-services/push-messages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-services/push-messages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-services/push-messages/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-services/push-messages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-services/push-messages/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-services/push-messages/languages","stargazers_url":"https://api.github.com/repos/mozilla-services/push-messages/stargazers","contributors_url":"https://api.github.com/repos/mozilla-services/push-messages/contributors","subscribers_url":"https://api.github.com/repos/mozilla-services/push-messages/subscribers","subscription_url":"https://api.github.com/repos/mozilla-services/push-messages/subscription","commits_url":"https://api.github.com/repos/mozilla-services/push-messages/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-services/push-messages/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-services/push-messages/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-services/push-messages/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-services/push-messages/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-services/push-messages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-services/push-messages/merges","archive_url":"https://api.github.com/repos/mozilla-services/push-messages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-services/push-messages/downloads","issues_url":"https://api.github.com/repos/mozilla-services/push-messages/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-services/push-messages/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-services/push-messages/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-services/push-messages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-services/push-messages/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-services/push-messages/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-services/push-messages/deployments","created_at":"2016-02-28T00:58:53Z","updated_at":"2016-02-28T21:55:39Z","pushed_at":"2016-04-06T20:36:44Z","git_url":"git://github.com/mozilla-services/push-messages.git","ssh_url":"git@github.com:mozilla-services/push-messages.git","clone_url":"https://github.com/mozilla-services/push-messages.git","svn_url":"https://github.com/mozilla-services/push-messages","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-services:master","ref":"master","sha":"7cf9ea53141f124d8131d65ff7a1a7b32afef8e0","user":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"repo":{"id":52697075,"name":"push-messages","full_name":"mozilla-services/push-messages","owner":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-services/push-messages","description":"Push Message API","fork":false,"url":"https://api.github.com/repos/mozilla-services/push-messages","forks_url":"https://api.github.com/repos/mozilla-services/push-messages/forks","keys_url":"https://api.github.com/repos/mozilla-services/push-messages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-services/push-messages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-services/push-messages/teams","hooks_url":"https://api.github.com/repos/mozilla-services/push-messages/hooks","issue_events_url":"https://api.github.com/repos/mozilla-services/push-messages/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-services/push-messages/events","assignees_url":"https://api.github.com/repos/mozilla-services/push-messages/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-services/push-messages/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-services/push-messages/tags","blobs_url":"https://api.github.com/repos/mozilla-services/push-messages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-services/push-messages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-services/push-messages/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-services/push-messages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-services/push-messages/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-services/push-messages/languages","stargazers_url":"https://api.github.com/repos/mozilla-services/push-messages/stargazers","contributors_url":"https://api.github.com/repos/mozilla-services/push-messages/contributors","subscribers_url":"https://api.github.com/repos/mozilla-services/push-messages/subscribers","subscription_url":"https://api.github.com/repos/mozilla-services/push-messages/subscription","commits_url":"https://api.github.com/repos/mozilla-services/push-messages/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-services/push-messages/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-services/push-messages/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-services/push-messages/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-services/push-messages/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-services/push-messages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-services/push-messages/merges","archive_url":"https://api.github.com/repos/mozilla-services/push-messages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-services/push-messages/downloads","issues_url":"https://api.github.com/repos/mozilla-services/push-messages/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-services/push-messages/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-services/push-messages/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-services/push-messages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-services/push-messages/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-services/push-messages/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-services/push-messages/deployments","created_at":"2016-02-28T00:58:53Z","updated_at":"2016-02-28T21:55:39Z","pushed_at":"2016-04-06T20:36:44Z","git_url":"git://github.com/mozilla-services/push-messages.git","ssh_url":"git@github.com:mozilla-services/push-messages.git","clone_url":"https://github.com/mozilla-services/push-messages.git","svn_url":"https://github.com/mozilla-services/push-messages","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/push-messages/pulls/9"},"html":{"href":"https://github.com/mozilla-services/push-messages/pull/9"},"issue":{"href":"https://api.github.com/repos/mozilla-services/push-messages/issues/9"},"comments":{"href":"https://api.github.com/repos/mozilla-services/push-messages/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-services/push-messages/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-services/push-messages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-services/push-messages/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-services/push-messages/statuses/0034dc5ca874d51014ea4d3c17eec93a4587e632"}}}}