{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/containercafe/containercafe/pulls/22","id":83297466,"html_url":"https://github.com/containercafe/containercafe/pull/22","diff_url":"https://github.com/containercafe/containercafe/pull/22.diff","patch_url":"https://github.com/containercafe/containercafe/pull/22.patch","issue_url":"https://api.github.com/repos/containercafe/containercafe/issues/22","number":22,"state":"open","locked":false,"title":"Optimized api-proxy Dockerfile","user":{"login":"Frugghi","id":1068379,"avatar_url":"https://avatars.githubusercontent.com/u/1068379?v=3","gravatar_id":"","url":"https://api.github.com/users/Frugghi","html_url":"https://github.com/Frugghi","followers_url":"https://api.github.com/users/Frugghi/followers","following_url":"https://api.github.com/users/Frugghi/following{/other_user}","gists_url":"https://api.github.com/users/Frugghi/gists{/gist_id}","starred_url":"https://api.github.com/users/Frugghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frugghi/subscriptions","organizations_url":"https://api.github.com/users/Frugghi/orgs","repos_url":"https://api.github.com/users/Frugghi/repos","events_url":"https://api.github.com/users/Frugghi/events{/privacy}","received_events_url":"https://api.github.com/users/Frugghi/received_events","type":"User","site_admin":false},"body":"Fix #20\r\n\r\n- Install `git` instead of `git-all`\r\n- Remove `git` and `golang` after build\r\n- Use a single `RUN` layer\r\n- Use a single `COPY` layer to copy the scripts\r\n- Use `curl` instead of` wget`\r\n\r\nThe final image size is `~150MB`\r\n```\r\nvagrant@vagrant-ubuntu-trusty-64:~/proxy$ docker images\r\nREPOSITORY                TAG                 IMAGE ID            CREATED             SIZE\r\napi-proxy                 latest              206f2dc9143f        19 minutes ago      151.5 MB\r\n```","created_at":"2016-08-30T15:49:29Z","updated_at":"2016-08-30T15:49:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"pdettori","id":6678093,"avatar_url":"https://avatars.githubusercontent.com/u/6678093?v=3","gravatar_id":"","url":"https://api.github.com/users/pdettori","html_url":"https://github.com/pdettori","followers_url":"https://api.github.com/users/pdettori/followers","following_url":"https://api.github.com/users/pdettori/following{/other_user}","gists_url":"https://api.github.com/users/pdettori/gists{/gist_id}","starred_url":"https://api.github.com/users/pdettori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdettori/subscriptions","organizations_url":"https://api.github.com/users/pdettori/orgs","repos_url":"https://api.github.com/users/pdettori/repos","events_url":"https://api.github.com/users/pdettori/events{/privacy}","received_events_url":"https://api.github.com/users/pdettori/received_events","type":"User","site_admin":false},"assignees":[{"login":"pdettori","id":6678093,"avatar_url":"https://avatars.githubusercontent.com/u/6678093?v=3","gravatar_id":"","url":"https://api.github.com/users/pdettori","html_url":"https://github.com/pdettori","followers_url":"https://api.github.com/users/pdettori/followers","following_url":"https://api.github.com/users/pdettori/following{/other_user}","gists_url":"https://api.github.com/users/pdettori/gists{/gist_id}","starred_url":"https://api.github.com/users/pdettori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdettori/subscriptions","organizations_url":"https://api.github.com/users/pdettori/orgs","repos_url":"https://api.github.com/users/pdettori/repos","events_url":"https://api.github.com/users/pdettori/events{/privacy}","received_events_url":"https://api.github.com/users/pdettori/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/containercafe/containercafe/pulls/22/commits","review_comments_url":"https://api.github.com/repos/containercafe/containercafe/pulls/22/comments","review_comment_url":"https://api.github.com/repos/containercafe/containercafe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/containercafe/containercafe/issues/22/comments","statuses_url":"https://api.github.com/repos/containercafe/containercafe/statuses/6eb0aa76fdef917e23eb95e5d900296a89a83609","head":{"label":"containercafe:issue#20","ref":"issue#20","sha":"6eb0aa76fdef917e23eb95e5d900296a89a83609","user":{"login":"containercafe","id":21241691,"avatar_url":"https://avatars.githubusercontent.com/u/21241691?v=3","gravatar_id":"","url":"https://api.github.com/users/containercafe","html_url":"https://github.com/containercafe","followers_url":"https://api.github.com/users/containercafe/followers","following_url":"https://api.github.com/users/containercafe/following{/other_user}","gists_url":"https://api.github.com/users/containercafe/gists{/gist_id}","starred_url":"https://api.github.com/users/containercafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/containercafe/subscriptions","organizations_url":"https://api.github.com/users/containercafe/orgs","repos_url":"https://api.github.com/users/containercafe/repos","events_url":"https://api.github.com/users/containercafe/events{/privacy}","received_events_url":"https://api.github.com/users/containercafe/received_events","type":"Organization","site_admin":false},"repo":{"id":66557910,"name":"containercafe","full_name":"containercafe/containercafe","owner":{"login":"containercafe","id":21241691,"avatar_url":"https://avatars.githubusercontent.com/u/21241691?v=3","gravatar_id":"","url":"https://api.github.com/users/containercafe","html_url":"https://github.com/containercafe","followers_url":"https://api.github.com/users/containercafe/followers","following_url":"https://api.github.com/users/containercafe/following{/other_user}","gists_url":"https://api.github.com/users/containercafe/gists{/gist_id}","starred_url":"https://api.github.com/users/containercafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/containercafe/subscriptions","organizations_url":"https://api.github.com/users/containercafe/orgs","repos_url":"https://api.github.com/users/containercafe/repos","events_url":"https://api.github.com/users/containercafe/events{/privacy}","received_events_url":"https://api.github.com/users/containercafe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/containercafe/containercafe","description":"A modular platform for enterprise container-native devops","fork":false,"url":"https://api.github.com/repos/containercafe/containercafe","forks_url":"https://api.github.com/repos/containercafe/containercafe/forks","keys_url":"https://api.github.com/repos/containercafe/containercafe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/containercafe/containercafe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/containercafe/containercafe/teams","hooks_url":"https://api.github.com/repos/containercafe/containercafe/hooks","issue_events_url":"https://api.github.com/repos/containercafe/containercafe/issues/events{/number}","events_url":"https://api.github.com/repos/containercafe/containercafe/events","assignees_url":"https://api.github.com/repos/containercafe/containercafe/assignees{/user}","branches_url":"https://api.github.com/repos/containercafe/containercafe/branches{/branch}","tags_url":"https://api.github.com/repos/containercafe/containercafe/tags","blobs_url":"https://api.github.com/repos/containercafe/containercafe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/containercafe/containercafe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/containercafe/containercafe/git/refs{/sha}","trees_url":"https://api.github.com/repos/containercafe/containercafe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/containercafe/containercafe/statuses/{sha}","languages_url":"https://api.github.com/repos/containercafe/containercafe/languages","stargazers_url":"https://api.github.com/repos/containercafe/containercafe/stargazers","contributors_url":"https://api.github.com/repos/containercafe/containercafe/contributors","subscribers_url":"https://api.github.com/repos/containercafe/containercafe/subscribers","subscription_url":"https://api.github.com/repos/containercafe/containercafe/subscription","commits_url":"https://api.github.com/repos/containercafe/containercafe/commits{/sha}","git_commits_url":"https://api.github.com/repos/containercafe/containercafe/git/commits{/sha}","comments_url":"https://api.github.com/repos/containercafe/containercafe/comments{/number}","issue_comment_url":"https://api.github.com/repos/containercafe/containercafe/issues/comments{/number}","contents_url":"https://api.github.com/repos/containercafe/containercafe/contents/{+path}","compare_url":"https://api.github.com/repos/containercafe/containercafe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/containercafe/containercafe/merges","archive_url":"https://api.github.com/repos/containercafe/containercafe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/containercafe/containercafe/downloads","issues_url":"https://api.github.com/repos/containercafe/containercafe/issues{/number}","pulls_url":"https://api.github.com/repos/containercafe/containercafe/pulls{/number}","milestones_url":"https://api.github.com/repos/containercafe/containercafe/milestones{/number}","notifications_url":"https://api.github.com/repos/containercafe/containercafe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/containercafe/containercafe/labels{/name}","releases_url":"https://api.github.com/repos/containercafe/containercafe/releases{/id}","deployments_url":"https://api.github.com/repos/containercafe/containercafe/deployments","created_at":"2016-08-25T12:58:16Z","updated_at":"2016-08-30T13:31:25Z","pushed_at":"2016-08-30T15:49:29Z","git_url":"git://github.com/containercafe/containercafe.git","ssh_url":"git@github.com:containercafe/containercafe.git","clone_url":"https://github.com/containercafe/containercafe.git","svn_url":"https://github.com/containercafe/containercafe","homepage":"","size":32910,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":6,"default_branch":"master"}},"base":{"label":"containercafe:master","ref":"master","sha":"93ad38dbbc0dbb394116f8bc82e12bf461896480","user":{"login":"containercafe","id":21241691,"avatar_url":"https://avatars.githubusercontent.com/u/21241691?v=3","gravatar_id":"","url":"https://api.github.com/users/containercafe","html_url":"https://github.com/containercafe","followers_url":"https://api.github.com/users/containercafe/followers","following_url":"https://api.github.com/users/containercafe/following{/other_user}","gists_url":"https://api.github.com/users/containercafe/gists{/gist_id}","starred_url":"https://api.github.com/users/containercafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/containercafe/subscriptions","organizations_url":"https://api.github.com/users/containercafe/orgs","repos_url":"https://api.github.com/users/containercafe/repos","events_url":"https://api.github.com/users/containercafe/events{/privacy}","received_events_url":"https://api.github.com/users/containercafe/received_events","type":"Organization","site_admin":false},"repo":{"id":66557910,"name":"containercafe","full_name":"containercafe/containercafe","owner":{"login":"containercafe","id":21241691,"avatar_url":"https://avatars.githubusercontent.com/u/21241691?v=3","gravatar_id":"","url":"https://api.github.com/users/containercafe","html_url":"https://github.com/containercafe","followers_url":"https://api.github.com/users/containercafe/followers","following_url":"https://api.github.com/users/containercafe/following{/other_user}","gists_url":"https://api.github.com/users/containercafe/gists{/gist_id}","starred_url":"https://api.github.com/users/containercafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/containercafe/subscriptions","organizations_url":"https://api.github.com/users/containercafe/orgs","repos_url":"https://api.github.com/users/containercafe/repos","events_url":"https://api.github.com/users/containercafe/events{/privacy}","received_events_url":"https://api.github.com/users/containercafe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/containercafe/containercafe","description":"A modular platform for enterprise container-native devops","fork":false,"url":"https://api.github.com/repos/containercafe/containercafe","forks_url":"https://api.github.com/repos/containercafe/containercafe/forks","keys_url":"https://api.github.com/repos/containercafe/containercafe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/containercafe/containercafe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/containercafe/containercafe/teams","hooks_url":"https://api.github.com/repos/containercafe/containercafe/hooks","issue_events_url":"https://api.github.com/repos/containercafe/containercafe/issues/events{/number}","events_url":"https://api.github.com/repos/containercafe/containercafe/events","assignees_url":"https://api.github.com/repos/containercafe/containercafe/assignees{/user}","branches_url":"https://api.github.com/repos/containercafe/containercafe/branches{/branch}","tags_url":"https://api.github.com/repos/containercafe/containercafe/tags","blobs_url":"https://api.github.com/repos/containercafe/containercafe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/containercafe/containercafe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/containercafe/containercafe/git/refs{/sha}","trees_url":"https://api.github.com/repos/containercafe/containercafe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/containercafe/containercafe/statuses/{sha}","languages_url":"https://api.github.com/repos/containercafe/containercafe/languages","stargazers_url":"https://api.github.com/repos/containercafe/containercafe/stargazers","contributors_url":"https://api.github.com/repos/containercafe/containercafe/contributors","subscribers_url":"https://api.github.com/repos/containercafe/containercafe/subscribers","subscription_url":"https://api.github.com/repos/containercafe/containercafe/subscription","commits_url":"https://api.github.com/repos/containercafe/containercafe/commits{/sha}","git_commits_url":"https://api.github.com/repos/containercafe/containercafe/git/commits{/sha}","comments_url":"https://api.github.com/repos/containercafe/containercafe/comments{/number}","issue_comment_url":"https://api.github.com/repos/containercafe/containercafe/issues/comments{/number}","contents_url":"https://api.github.com/repos/containercafe/containercafe/contents/{+path}","compare_url":"https://api.github.com/repos/containercafe/containercafe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/containercafe/containercafe/merges","archive_url":"https://api.github.com/repos/containercafe/containercafe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/containercafe/containercafe/downloads","issues_url":"https://api.github.com/repos/containercafe/containercafe/issues{/number}","pulls_url":"https://api.github.com/repos/containercafe/containercafe/pulls{/number}","milestones_url":"https://api.github.com/repos/containercafe/containercafe/milestones{/number}","notifications_url":"https://api.github.com/repos/containercafe/containercafe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/containercafe/containercafe/labels{/name}","releases_url":"https://api.github.com/repos/containercafe/containercafe/releases{/id}","deployments_url":"https://api.github.com/repos/containercafe/containercafe/deployments","created_at":"2016-08-25T12:58:16Z","updated_at":"2016-08-30T13:31:25Z","pushed_at":"2016-08-30T15:49:29Z","git_url":"git://github.com/containercafe/containercafe.git","ssh_url":"git@github.com:containercafe/containercafe.git","clone_url":"https://github.com/containercafe/containercafe.git","svn_url":"https://github.com/containercafe/containercafe","homepage":"","size":32910,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/containercafe/containercafe/pulls/22"},"html":{"href":"https://github.com/containercafe/containercafe/pull/22"},"issue":{"href":"https://api.github.com/repos/containercafe/containercafe/issues/22"},"comments":{"href":"https://api.github.com/repos/containercafe/containercafe/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/containercafe/containercafe/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/containercafe/containercafe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/containercafe/containercafe/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/containercafe/containercafe/statuses/6eb0aa76fdef917e23eb95e5d900296a89a83609"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":12,"changed_files":1}}
{"actor":{"display_login":"Frugghi"}}