{"action":"created","comment":{"url":"https://api.github.com/repos/docker/distribution-library-image/pulls/comments/35935193","id":35935193,"diff_hunk":"@@ -0,0 +1,15 @@\n+# Build a minimal distribution container\n+\n+FROM ubuntu:14.04\n+\n+RUN apt-get update && \\\n+    apt-get install -y ca-certificates librados2 apache2-utils && \\\n+    rm -rf /var/lib/apt/lists/*\n+\n+COPY ./registry/registry /registry","path":"Dockerfile","position":9,"original_position":9,"commit_id":"19c9fdd0c424f73544dbcb7e4a3d3650a330c0ed","original_commit_id":"19c9fdd0c424f73544dbcb7e4a3d3650a330c0ed","user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"body":"nit: `/bin/registry`.","created_at":"2015-07-30T23:59:10Z","updated_at":"2015-07-30T23:59:10Z","html_url":"https://github.com/docker/distribution-library-image/pull/1#discussion_r35935193","pull_request_url":"https://api.github.com/repos/docker/distribution-library-image/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/docker/distribution-library-image/pulls/comments/35935193"},"html":{"href":"https://github.com/docker/distribution-library-image/pull/1#discussion_r35935193"},"pull_request":{"href":"https://api.github.com/repos/docker/distribution-library-image/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/docker/distribution-library-image/pulls/1","id":41148185,"html_url":"https://github.com/docker/distribution-library-image/pull/1","diff_url":"https://github.com/docker/distribution-library-image/pull/1.diff","patch_url":"https://github.com/docker/distribution-library-image/pull/1.patch","issue_url":"https://api.github.com/repos/docker/distribution-library-image/issues/1","number":1,"state":"open","locked":false,"title":"Add library image for registry","user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"body":"This is based on swarm-library-image.\r\n\r\nUnfortunately, the registry binary needs to be checked in - otherwise\r\n\"docker build\" wouldn't work without preparation, as is required of\r\nofficial images. The binary checked in here is from distribution's\r\ncurrent master branch (01e6dde2fd68aaf0a8b8183ab4df11fc07e6f180). It\r\nwill need to be updated to the release version after each release.\r\n\r\nRather than creating a container from scratch, this library image is\r\nbased on the ubuntu container, because registry is a dynamically linked\r\nbinary.\r\n\r\nBecause we're using the ubuntu container as a base, manual installation\r\nof ca-certificates.crt isn't necessary. If we end up switching to a\r\nscratch container, this will need to be re-added.\r\n\r\n@docker/distribution-maintainers","created_at":"2015-07-29T17:12:17Z","updated_at":"2015-07-30T23:59:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a1bc683e5dd33efa5a61173578116b4ba3834575","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/distribution-library-image/pulls/1/commits","review_comments_url":"https://api.github.com/repos/docker/distribution-library-image/pulls/1/comments","review_comment_url":"https://api.github.com/repos/docker/distribution-library-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/distribution-library-image/issues/1/comments","statuses_url":"https://api.github.com/repos/docker/distribution-library-image/statuses/19c9fdd0c424f73544dbcb7e4a3d3650a330c0ed","head":{"label":"docker:create-container","ref":"create-container","sha":"19c9fdd0c424f73544dbcb7e4a3d3650a330c0ed","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":39857379,"name":"distribution-library-image","full_name":"docker/distribution-library-image","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/distribution-library-image","description":"","fork":false,"url":"https://api.github.com/repos/docker/distribution-library-image","forks_url":"https://api.github.com/repos/docker/distribution-library-image/forks","keys_url":"https://api.github.com/repos/docker/distribution-library-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/distribution-library-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/distribution-library-image/teams","hooks_url":"https://api.github.com/repos/docker/distribution-library-image/hooks","issue_events_url":"https://api.github.com/repos/docker/distribution-library-image/issues/events{/number}","events_url":"https://api.github.com/repos/docker/distribution-library-image/events","assignees_url":"https://api.github.com/repos/docker/distribution-library-image/assignees{/user}","branches_url":"https://api.github.com/repos/docker/distribution-library-image/branches{/branch}","tags_url":"https://api.github.com/repos/docker/distribution-library-image/tags","blobs_url":"https://api.github.com/repos/docker/distribution-library-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/distribution-library-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/distribution-library-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/distribution-library-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/distribution-library-image/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/distribution-library-image/languages","stargazers_url":"https://api.github.com/repos/docker/distribution-library-image/stargazers","contributors_url":"https://api.github.com/repos/docker/distribution-library-image/contributors","subscribers_url":"https://api.github.com/repos/docker/distribution-library-image/subscribers","subscription_url":"https://api.github.com/repos/docker/distribution-library-image/subscription","commits_url":"https://api.github.com/repos/docker/distribution-library-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/distribution-library-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/distribution-library-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/distribution-library-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/distribution-library-image/contents/{+path}","compare_url":"https://api.github.com/repos/docker/distribution-library-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/distribution-library-image/merges","archive_url":"https://api.github.com/repos/docker/distribution-library-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/distribution-library-image/downloads","issues_url":"https://api.github.com/repos/docker/distribution-library-image/issues{/number}","pulls_url":"https://api.github.com/repos/docker/distribution-library-image/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/distribution-library-image/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/distribution-library-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/distribution-library-image/labels{/name}","releases_url":"https://api.github.com/repos/docker/distribution-library-image/releases{/id}","created_at":"2015-07-28T20:56:36Z","updated_at":"2015-07-28T20:56:36Z","pushed_at":"2015-07-30T23:44:01Z","git_url":"git://github.com/docker/distribution-library-image.git","ssh_url":"git@github.com:docker/distribution-library-image.git","clone_url":"https://github.com/docker/distribution-library-image.git","svn_url":"https://github.com/docker/distribution-library-image","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"d6ee50a2de72c8b26f9bc2247fc8083f8614f980","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":39857379,"name":"distribution-library-image","full_name":"docker/distribution-library-image","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/distribution-library-image","description":"","fork":false,"url":"https://api.github.com/repos/docker/distribution-library-image","forks_url":"https://api.github.com/repos/docker/distribution-library-image/forks","keys_url":"https://api.github.com/repos/docker/distribution-library-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/distribution-library-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/distribution-library-image/teams","hooks_url":"https://api.github.com/repos/docker/distribution-library-image/hooks","issue_events_url":"https://api.github.com/repos/docker/distribution-library-image/issues/events{/number}","events_url":"https://api.github.com/repos/docker/distribution-library-image/events","assignees_url":"https://api.github.com/repos/docker/distribution-library-image/assignees{/user}","branches_url":"https://api.github.com/repos/docker/distribution-library-image/branches{/branch}","tags_url":"https://api.github.com/repos/docker/distribution-library-image/tags","blobs_url":"https://api.github.com/repos/docker/distribution-library-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/distribution-library-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/distribution-library-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/distribution-library-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/distribution-library-image/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/distribution-library-image/languages","stargazers_url":"https://api.github.com/repos/docker/distribution-library-image/stargazers","contributors_url":"https://api.github.com/repos/docker/distribution-library-image/contributors","subscribers_url":"https://api.github.com/repos/docker/distribution-library-image/subscribers","subscription_url":"https://api.github.com/repos/docker/distribution-library-image/subscription","commits_url":"https://api.github.com/repos/docker/distribution-library-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/distribution-library-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/distribution-library-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/distribution-library-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/distribution-library-image/contents/{+path}","compare_url":"https://api.github.com/repos/docker/distribution-library-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/distribution-library-image/merges","archive_url":"https://api.github.com/repos/docker/distribution-library-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/distribution-library-image/downloads","issues_url":"https://api.github.com/repos/docker/distribution-library-image/issues{/number}","pulls_url":"https://api.github.com/repos/docker/distribution-library-image/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/distribution-library-image/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/distribution-library-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/distribution-library-image/labels{/name}","releases_url":"https://api.github.com/repos/docker/distribution-library-image/releases{/id}","created_at":"2015-07-28T20:56:36Z","updated_at":"2015-07-28T20:56:36Z","pushed_at":"2015-07-30T23:44:01Z","git_url":"git://github.com/docker/distribution-library-image.git","ssh_url":"git@github.com:docker/distribution-library-image.git","clone_url":"https://github.com/docker/distribution-library-image.git","svn_url":"https://github.com/docker/distribution-library-image","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/distribution-library-image/pulls/1"},"html":{"href":"https://github.com/docker/distribution-library-image/pull/1"},"issue":{"href":"https://api.github.com/repos/docker/distribution-library-image/issues/1"},"comments":{"href":"https://api.github.com/repos/docker/distribution-library-image/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/distribution-library-image/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/distribution-library-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/distribution-library-image/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/docker/distribution-library-image/statuses/19c9fdd0c424f73544dbcb7e4a3d3650a330c0ed"}}}}