{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/bluesoft/dockerfiles/pulls/4","id":47992931,"html_url":"https://github.com/bluesoft/dockerfiles/pull/4","diff_url":"https://github.com/bluesoft/dockerfiles/pull/4.diff","patch_url":"https://github.com/bluesoft/dockerfiles/pull/4.patch","issue_url":"https://api.github.com/repos/bluesoft/dockerfiles/issues/4","number":4,"state":"closed","locked":false,"title":"Decrease the number of layers","user":{"login":"flaudisio","id":285751,"avatar_url":"https://avatars.githubusercontent.com/u/285751?v=3","gravatar_id":"","url":"https://api.github.com/users/flaudisio","html_url":"https://github.com/flaudisio","followers_url":"https://api.github.com/users/flaudisio/followers","following_url":"https://api.github.com/users/flaudisio/following{/other_user}","gists_url":"https://api.github.com/users/flaudisio/gists{/gist_id}","starred_url":"https://api.github.com/users/flaudisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaudisio/subscriptions","organizations_url":"https://api.github.com/users/flaudisio/orgs","repos_url":"https://api.github.com/users/flaudisio/repos","events_url":"https://api.github.com/users/flaudisio/events{/privacy}","received_events_url":"https://api.github.com/users/flaudisio/received_events","type":"User","site_admin":false},"body":"This is considered a [good practice][1] and also improves readability.\r\n\r\n[1]: https://docs.docker.com/articles/dockerfile_best-practices/#minimize-the-number-of-layers","created_at":"2015-10-17T19:00:40Z","updated_at":"2015-10-19T11:52:49Z","closed_at":"2015-10-19T11:52:49Z","merged_at":"2015-10-19T11:52:49Z","merge_commit_sha":"44ddd92b78049e3cfc6ce88e1167fbe21d89d656","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bluesoft/dockerfiles/pulls/4/commits","review_comments_url":"https://api.github.com/repos/bluesoft/dockerfiles/pulls/4/comments","review_comment_url":"https://api.github.com/repos/bluesoft/dockerfiles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bluesoft/dockerfiles/issues/4/comments","statuses_url":"https://api.github.com/repos/bluesoft/dockerfiles/statuses/bc6df6bf040daa67917737dc0bab598c9a16a355","head":{"label":"flaudisio:less-layers","ref":"less-layers","sha":"bc6df6bf040daa67917737dc0bab598c9a16a355","user":{"login":"flaudisio","id":285751,"avatar_url":"https://avatars.githubusercontent.com/u/285751?v=3","gravatar_id":"","url":"https://api.github.com/users/flaudisio","html_url":"https://github.com/flaudisio","followers_url":"https://api.github.com/users/flaudisio/followers","following_url":"https://api.github.com/users/flaudisio/following{/other_user}","gists_url":"https://api.github.com/users/flaudisio/gists{/gist_id}","starred_url":"https://api.github.com/users/flaudisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaudisio/subscriptions","organizations_url":"https://api.github.com/users/flaudisio/orgs","repos_url":"https://api.github.com/users/flaudisio/repos","events_url":"https://api.github.com/users/flaudisio/events{/privacy}","received_events_url":"https://api.github.com/users/flaudisio/received_events","type":"User","site_admin":false},"repo":{"id":44208205,"name":"dockerfiles-bs","full_name":"flaudisio/dockerfiles-bs","owner":{"login":"flaudisio","id":285751,"avatar_url":"https://avatars.githubusercontent.com/u/285751?v=3","gravatar_id":"","url":"https://api.github.com/users/flaudisio","html_url":"https://github.com/flaudisio","followers_url":"https://api.github.com/users/flaudisio/followers","following_url":"https://api.github.com/users/flaudisio/following{/other_user}","gists_url":"https://api.github.com/users/flaudisio/gists{/gist_id}","starred_url":"https://api.github.com/users/flaudisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaudisio/subscriptions","organizations_url":"https://api.github.com/users/flaudisio/orgs","repos_url":"https://api.github.com/users/flaudisio/repos","events_url":"https://api.github.com/users/flaudisio/events{/privacy}","received_events_url":"https://api.github.com/users/flaudisio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flaudisio/dockerfiles-bs","description":"Docker Files","fork":true,"url":"https://api.github.com/repos/flaudisio/dockerfiles-bs","forks_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/forks","keys_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/teams","hooks_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/hooks","issue_events_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/issues/events{/number}","events_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/events","assignees_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/assignees{/user}","branches_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/branches{/branch}","tags_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/tags","blobs_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/git/refs{/sha}","trees_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/statuses/{sha}","languages_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/languages","stargazers_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/stargazers","contributors_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/contributors","subscribers_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/subscribers","subscription_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/subscription","commits_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/commits{/sha}","git_commits_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/git/commits{/sha}","comments_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/comments{/number}","issue_comment_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/issues/comments{/number}","contents_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/contents/{+path}","compare_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/merges","archive_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/downloads","issues_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/issues{/number}","pulls_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/pulls{/number}","milestones_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/milestones{/number}","notifications_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/labels{/name}","releases_url":"https://api.github.com/repos/flaudisio/dockerfiles-bs/releases{/id}","created_at":"2015-10-13T22:03:17Z","updated_at":"2015-10-14T02:02:18Z","pushed_at":"2015-10-16T20:51:25Z","git_url":"git://github.com/flaudisio/dockerfiles-bs.git","ssh_url":"git@github.com:flaudisio/dockerfiles-bs.git","clone_url":"https://github.com/flaudisio/dockerfiles-bs.git","svn_url":"https://github.com/flaudisio/dockerfiles-bs","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":null,"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":"bluesoft:master","ref":"master","sha":"f46b53135f5d932ae7e85d1163bef43823f1a7f8","user":{"login":"bluesoft","id":378256,"avatar_url":"https://avatars.githubusercontent.com/u/378256?v=3","gravatar_id":"","url":"https://api.github.com/users/bluesoft","html_url":"https://github.com/bluesoft","followers_url":"https://api.github.com/users/bluesoft/followers","following_url":"https://api.github.com/users/bluesoft/following{/other_user}","gists_url":"https://api.github.com/users/bluesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bluesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluesoft/subscriptions","organizations_url":"https://api.github.com/users/bluesoft/orgs","repos_url":"https://api.github.com/users/bluesoft/repos","events_url":"https://api.github.com/users/bluesoft/events{/privacy}","received_events_url":"https://api.github.com/users/bluesoft/received_events","type":"Organization","site_admin":false},"repo":{"id":43694411,"name":"dockerfiles","full_name":"bluesoft/dockerfiles","owner":{"login":"bluesoft","id":378256,"avatar_url":"https://avatars.githubusercontent.com/u/378256?v=3","gravatar_id":"","url":"https://api.github.com/users/bluesoft","html_url":"https://github.com/bluesoft","followers_url":"https://api.github.com/users/bluesoft/followers","following_url":"https://api.github.com/users/bluesoft/following{/other_user}","gists_url":"https://api.github.com/users/bluesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bluesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluesoft/subscriptions","organizations_url":"https://api.github.com/users/bluesoft/orgs","repos_url":"https://api.github.com/users/bluesoft/repos","events_url":"https://api.github.com/users/bluesoft/events{/privacy}","received_events_url":"https://api.github.com/users/bluesoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bluesoft/dockerfiles","description":"Docker Files","fork":false,"url":"https://api.github.com/repos/bluesoft/dockerfiles","forks_url":"https://api.github.com/repos/bluesoft/dockerfiles/forks","keys_url":"https://api.github.com/repos/bluesoft/dockerfiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bluesoft/dockerfiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bluesoft/dockerfiles/teams","hooks_url":"https://api.github.com/repos/bluesoft/dockerfiles/hooks","issue_events_url":"https://api.github.com/repos/bluesoft/dockerfiles/issues/events{/number}","events_url":"https://api.github.com/repos/bluesoft/dockerfiles/events","assignees_url":"https://api.github.com/repos/bluesoft/dockerfiles/assignees{/user}","branches_url":"https://api.github.com/repos/bluesoft/dockerfiles/branches{/branch}","tags_url":"https://api.github.com/repos/bluesoft/dockerfiles/tags","blobs_url":"https://api.github.com/repos/bluesoft/dockerfiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bluesoft/dockerfiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bluesoft/dockerfiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/bluesoft/dockerfiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bluesoft/dockerfiles/statuses/{sha}","languages_url":"https://api.github.com/repos/bluesoft/dockerfiles/languages","stargazers_url":"https://api.github.com/repos/bluesoft/dockerfiles/stargazers","contributors_url":"https://api.github.com/repos/bluesoft/dockerfiles/contributors","subscribers_url":"https://api.github.com/repos/bluesoft/dockerfiles/subscribers","subscription_url":"https://api.github.com/repos/bluesoft/dockerfiles/subscription","commits_url":"https://api.github.com/repos/bluesoft/dockerfiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/bluesoft/dockerfiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/bluesoft/dockerfiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/bluesoft/dockerfiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/bluesoft/dockerfiles/contents/{+path}","compare_url":"https://api.github.com/repos/bluesoft/dockerfiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bluesoft/dockerfiles/merges","archive_url":"https://api.github.com/repos/bluesoft/dockerfiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bluesoft/dockerfiles/downloads","issues_url":"https://api.github.com/repos/bluesoft/dockerfiles/issues{/number}","pulls_url":"https://api.github.com/repos/bluesoft/dockerfiles/pulls{/number}","milestones_url":"https://api.github.com/repos/bluesoft/dockerfiles/milestones{/number}","notifications_url":"https://api.github.com/repos/bluesoft/dockerfiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bluesoft/dockerfiles/labels{/name}","releases_url":"https://api.github.com/repos/bluesoft/dockerfiles/releases{/id}","created_at":"2015-10-05T15:30:46Z","updated_at":"2015-10-05T15:32:07Z","pushed_at":"2015-10-19T11:52:49Z","git_url":"git://github.com/bluesoft/dockerfiles.git","ssh_url":"git@github.com:bluesoft/dockerfiles.git","clone_url":"https://github.com/bluesoft/dockerfiles.git","svn_url":"https://github.com/bluesoft/dockerfiles","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bluesoft/dockerfiles/pulls/4"},"html":{"href":"https://github.com/bluesoft/dockerfiles/pull/4"},"issue":{"href":"https://api.github.com/repos/bluesoft/dockerfiles/issues/4"},"comments":{"href":"https://api.github.com/repos/bluesoft/dockerfiles/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/bluesoft/dockerfiles/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/bluesoft/dockerfiles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bluesoft/dockerfiles/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/bluesoft/dockerfiles/statuses/bc6df6bf040daa67917737dc0bab598c9a16a355"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gabriellhrn","id":1218680,"avatar_url":"https://avatars.githubusercontent.com/u/1218680?v=3","gravatar_id":"","url":"https://api.github.com/users/gabriellhrn","html_url":"https://github.com/gabriellhrn","followers_url":"https://api.github.com/users/gabriellhrn/followers","following_url":"https://api.github.com/users/gabriellhrn/following{/other_user}","gists_url":"https://api.github.com/users/gabriellhrn/gists{/gist_id}","starred_url":"https://api.github.com/users/gabriellhrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabriellhrn/subscriptions","organizations_url":"https://api.github.com/users/gabriellhrn/orgs","repos_url":"https://api.github.com/users/gabriellhrn/repos","events_url":"https://api.github.com/users/gabriellhrn/events{/privacy}","received_events_url":"https://api.github.com/users/gabriellhrn/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":63,"deletions":55,"changed_files":2}}