{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/huytd/swift-http/pulls/11","id":52760701,"html_url":"https://github.com/huytd/swift-http/pull/11","diff_url":"https://github.com/huytd/swift-http/pull/11.diff","patch_url":"https://github.com/huytd/swift-http/pull/11.patch","issue_url":"https://api.github.com/repos/huytd/swift-http/issues/11","number":11,"state":"closed","locked":false,"title":"Reduce size of built Docker image","user":{"login":"justinanderson","id":244952,"avatar_url":"https://avatars.githubusercontent.com/u/244952?v=3","gravatar_id":"","url":"https://api.github.com/users/justinanderson","html_url":"https://github.com/justinanderson","followers_url":"https://api.github.com/users/justinanderson/followers","following_url":"https://api.github.com/users/justinanderson/following{/other_user}","gists_url":"https://api.github.com/users/justinanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/justinanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinanderson/subscriptions","organizations_url":"https://api.github.com/users/justinanderson/orgs","repos_url":"https://api.github.com/users/justinanderson/repos","events_url":"https://api.github.com/users/justinanderson/events{/privacy}","received_events_url":"https://api.github.com/users/justinanderson/received_events","type":"User","site_admin":false},"body":"Shrinks the swiftbox image from 1.22 GB to 849.3 MB.\r\n\r\nThe result of each Dockerfile line is saved to its own fs layer, so temporary files take up space in the image if they aren't removed in the same line they are created in. Also apt-get clean frees up a little space.","created_at":"2015-12-05T18:13:37Z","updated_at":"2015-12-06T03:09:48Z","closed_at":"2015-12-06T03:09:48Z","merged_at":"2015-12-06T03:09:48Z","merge_commit_sha":"d2f171805cca143b8a7ea9986d57014ddc549ed8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/huytd/swift-http/pulls/11/commits","review_comments_url":"https://api.github.com/repos/huytd/swift-http/pulls/11/comments","review_comment_url":"https://api.github.com/repos/huytd/swift-http/pulls/comments{/number}","comments_url":"https://api.github.com/repos/huytd/swift-http/issues/11/comments","statuses_url":"https://api.github.com/repos/huytd/swift-http/statuses/29b2754f53e59cf68f889b60f7c1f1f5309b5007","head":{"label":"justinanderson:docker-image-size","ref":"docker-image-size","sha":"29b2754f53e59cf68f889b60f7c1f1f5309b5007","user":{"login":"justinanderson","id":244952,"avatar_url":"https://avatars.githubusercontent.com/u/244952?v=3","gravatar_id":"","url":"https://api.github.com/users/justinanderson","html_url":"https://github.com/justinanderson","followers_url":"https://api.github.com/users/justinanderson/followers","following_url":"https://api.github.com/users/justinanderson/following{/other_user}","gists_url":"https://api.github.com/users/justinanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/justinanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinanderson/subscriptions","organizations_url":"https://api.github.com/users/justinanderson/orgs","repos_url":"https://api.github.com/users/justinanderson/repos","events_url":"https://api.github.com/users/justinanderson/events{/privacy}","received_events_url":"https://api.github.com/users/justinanderson/received_events","type":"User","site_admin":false},"repo":{"id":47466782,"name":"swift-http","full_name":"justinanderson/swift-http","owner":{"login":"justinanderson","id":244952,"avatar_url":"https://avatars.githubusercontent.com/u/244952?v=3","gravatar_id":"","url":"https://api.github.com/users/justinanderson","html_url":"https://github.com/justinanderson","followers_url":"https://api.github.com/users/justinanderson/followers","following_url":"https://api.github.com/users/justinanderson/following{/other_user}","gists_url":"https://api.github.com/users/justinanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/justinanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinanderson/subscriptions","organizations_url":"https://api.github.com/users/justinanderson/orgs","repos_url":"https://api.github.com/users/justinanderson/repos","events_url":"https://api.github.com/users/justinanderson/events{/privacy}","received_events_url":"https://api.github.com/users/justinanderson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justinanderson/swift-http","description":"HTTP Implementation for Swift on Linux and Mac OS X","fork":true,"url":"https://api.github.com/repos/justinanderson/swift-http","forks_url":"https://api.github.com/repos/justinanderson/swift-http/forks","keys_url":"https://api.github.com/repos/justinanderson/swift-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justinanderson/swift-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justinanderson/swift-http/teams","hooks_url":"https://api.github.com/repos/justinanderson/swift-http/hooks","issue_events_url":"https://api.github.com/repos/justinanderson/swift-http/issues/events{/number}","events_url":"https://api.github.com/repos/justinanderson/swift-http/events","assignees_url":"https://api.github.com/repos/justinanderson/swift-http/assignees{/user}","branches_url":"https://api.github.com/repos/justinanderson/swift-http/branches{/branch}","tags_url":"https://api.github.com/repos/justinanderson/swift-http/tags","blobs_url":"https://api.github.com/repos/justinanderson/swift-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justinanderson/swift-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justinanderson/swift-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/justinanderson/swift-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justinanderson/swift-http/statuses/{sha}","languages_url":"https://api.github.com/repos/justinanderson/swift-http/languages","stargazers_url":"https://api.github.com/repos/justinanderson/swift-http/stargazers","contributors_url":"https://api.github.com/repos/justinanderson/swift-http/contributors","subscribers_url":"https://api.github.com/repos/justinanderson/swift-http/subscribers","subscription_url":"https://api.github.com/repos/justinanderson/swift-http/subscription","commits_url":"https://api.github.com/repos/justinanderson/swift-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/justinanderson/swift-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/justinanderson/swift-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/justinanderson/swift-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/justinanderson/swift-http/contents/{+path}","compare_url":"https://api.github.com/repos/justinanderson/swift-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justinanderson/swift-http/merges","archive_url":"https://api.github.com/repos/justinanderson/swift-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justinanderson/swift-http/downloads","issues_url":"https://api.github.com/repos/justinanderson/swift-http/issues{/number}","pulls_url":"https://api.github.com/repos/justinanderson/swift-http/pulls{/number}","milestones_url":"https://api.github.com/repos/justinanderson/swift-http/milestones{/number}","notifications_url":"https://api.github.com/repos/justinanderson/swift-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justinanderson/swift-http/labels{/name}","releases_url":"https://api.github.com/repos/justinanderson/swift-http/releases{/id}","created_at":"2015-12-05T18:05:19Z","updated_at":"2015-12-05T18:05:20Z","pushed_at":"2015-12-05T18:12:50Z","git_url":"git://github.com/justinanderson/swift-http.git","ssh_url":"git@github.com:justinanderson/swift-http.git","clone_url":"https://github.com/justinanderson/swift-http.git","svn_url":"https://github.com/justinanderson/swift-http","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"huytd:master","ref":"master","sha":"8c7055782ea405e83731acdb41a8700a96d60ac6","user":{"login":"huytd","id":613943,"avatar_url":"https://avatars.githubusercontent.com/u/613943?v=3","gravatar_id":"","url":"https://api.github.com/users/huytd","html_url":"https://github.com/huytd","followers_url":"https://api.github.com/users/huytd/followers","following_url":"https://api.github.com/users/huytd/following{/other_user}","gists_url":"https://api.github.com/users/huytd/gists{/gist_id}","starred_url":"https://api.github.com/users/huytd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huytd/subscriptions","organizations_url":"https://api.github.com/users/huytd/orgs","repos_url":"https://api.github.com/users/huytd/repos","events_url":"https://api.github.com/users/huytd/events{/privacy}","received_events_url":"https://api.github.com/users/huytd/received_events","type":"User","site_admin":false},"repo":{"id":47392572,"name":"swift-http","full_name":"huytd/swift-http","owner":{"login":"huytd","id":613943,"avatar_url":"https://avatars.githubusercontent.com/u/613943?v=3","gravatar_id":"","url":"https://api.github.com/users/huytd","html_url":"https://github.com/huytd","followers_url":"https://api.github.com/users/huytd/followers","following_url":"https://api.github.com/users/huytd/following{/other_user}","gists_url":"https://api.github.com/users/huytd/gists{/gist_id}","starred_url":"https://api.github.com/users/huytd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huytd/subscriptions","organizations_url":"https://api.github.com/users/huytd/orgs","repos_url":"https://api.github.com/users/huytd/repos","events_url":"https://api.github.com/users/huytd/events{/privacy}","received_events_url":"https://api.github.com/users/huytd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/huytd/swift-http","description":"HTTP Implementation for Swift on Linux and Mac OS X","fork":false,"url":"https://api.github.com/repos/huytd/swift-http","forks_url":"https://api.github.com/repos/huytd/swift-http/forks","keys_url":"https://api.github.com/repos/huytd/swift-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huytd/swift-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huytd/swift-http/teams","hooks_url":"https://api.github.com/repos/huytd/swift-http/hooks","issue_events_url":"https://api.github.com/repos/huytd/swift-http/issues/events{/number}","events_url":"https://api.github.com/repos/huytd/swift-http/events","assignees_url":"https://api.github.com/repos/huytd/swift-http/assignees{/user}","branches_url":"https://api.github.com/repos/huytd/swift-http/branches{/branch}","tags_url":"https://api.github.com/repos/huytd/swift-http/tags","blobs_url":"https://api.github.com/repos/huytd/swift-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huytd/swift-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huytd/swift-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/huytd/swift-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huytd/swift-http/statuses/{sha}","languages_url":"https://api.github.com/repos/huytd/swift-http/languages","stargazers_url":"https://api.github.com/repos/huytd/swift-http/stargazers","contributors_url":"https://api.github.com/repos/huytd/swift-http/contributors","subscribers_url":"https://api.github.com/repos/huytd/swift-http/subscribers","subscription_url":"https://api.github.com/repos/huytd/swift-http/subscription","commits_url":"https://api.github.com/repos/huytd/swift-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/huytd/swift-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/huytd/swift-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/huytd/swift-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/huytd/swift-http/contents/{+path}","compare_url":"https://api.github.com/repos/huytd/swift-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huytd/swift-http/merges","archive_url":"https://api.github.com/repos/huytd/swift-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huytd/swift-http/downloads","issues_url":"https://api.github.com/repos/huytd/swift-http/issues{/number}","pulls_url":"https://api.github.com/repos/huytd/swift-http/pulls{/number}","milestones_url":"https://api.github.com/repos/huytd/swift-http/milestones{/number}","notifications_url":"https://api.github.com/repos/huytd/swift-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huytd/swift-http/labels{/name}","releases_url":"https://api.github.com/repos/huytd/swift-http/releases{/id}","created_at":"2015-12-04T08:54:24Z","updated_at":"2015-12-06T03:01:38Z","pushed_at":"2015-12-06T03:09:48Z","git_url":"git://github.com/huytd/swift-http.git","ssh_url":"git@github.com:huytd/swift-http.git","clone_url":"https://github.com/huytd/swift-http.git","svn_url":"https://github.com/huytd/swift-http","homepage":null,"size":17,"stargazers_count":205,"watchers_count":205,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":205,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/huytd/swift-http/pulls/11"},"html":{"href":"https://github.com/huytd/swift-http/pull/11"},"issue":{"href":"https://api.github.com/repos/huytd/swift-http/issues/11"},"comments":{"href":"https://api.github.com/repos/huytd/swift-http/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/huytd/swift-http/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/huytd/swift-http/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/huytd/swift-http/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/huytd/swift-http/statuses/29b2754f53e59cf68f889b60f7c1f1f5309b5007"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"huytd","id":613943,"avatar_url":"https://avatars.githubusercontent.com/u/613943?v=3","gravatar_id":"","url":"https://api.github.com/users/huytd","html_url":"https://github.com/huytd","followers_url":"https://api.github.com/users/huytd/followers","following_url":"https://api.github.com/users/huytd/following{/other_user}","gists_url":"https://api.github.com/users/huytd/gists{/gist_id}","starred_url":"https://api.github.com/users/huytd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huytd/subscriptions","organizations_url":"https://api.github.com/users/huytd/orgs","repos_url":"https://api.github.com/users/huytd/repos","events_url":"https://api.github.com/users/huytd/events{/privacy}","received_events_url":"https://api.github.com/users/huytd/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":13,"deletions":5,"changed_files":1}}