{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls/1","id":42166152,"html_url":"https://github.com/cloudnautique/vol-cleanup/pull/1","diff_url":"https://github.com/cloudnautique/vol-cleanup/pull/1.diff","patch_url":"https://github.com/cloudnautique/vol-cleanup/pull/1.patch","issue_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/issues/1","number":1,"state":"closed","locked":false,"title":"Use scratch as base image to reduce images size even further","user":{"login":"DieterReuter","id":3758971,"avatar_url":"https://avatars.githubusercontent.com/u/3758971?v=3","gravatar_id":"","url":"https://api.github.com/users/DieterReuter","html_url":"https://github.com/DieterReuter","followers_url":"https://api.github.com/users/DieterReuter/followers","following_url":"https://api.github.com/users/DieterReuter/following{/other_user}","gists_url":"https://api.github.com/users/DieterReuter/gists{/gist_id}","starred_url":"https://api.github.com/users/DieterReuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DieterReuter/subscriptions","organizations_url":"https://api.github.com/users/DieterReuter/orgs","repos_url":"https://api.github.com/users/DieterReuter/repos","events_url":"https://api.github.com/users/DieterReuter/events{/privacy}","received_events_url":"https://api.github.com/users/DieterReuter/received_events","type":"User","site_admin":false},"body":"Due to the fact we're just using a statically linked GO binary, we could skip the usage of a busybox base image and use a plain scratch base image. This results in a really light weight image of 9 MByte only.\r\n```\r\ndocker images\r\nREPOSITORY                  TAG                 IMAGE ID            CREATED             VIRTUAL SIZE\r\ncloudnautique/vol-cleanup   latest              45fe567ed8b1        8 minutes ago       9.014 MB\r\n```","created_at":"2015-08-11T19:13:52Z","updated_at":"2015-08-12T04:13:56Z","closed_at":"2015-08-12T04:13:56Z","merged_at":"2015-08-12T04:13:56Z","merge_commit_sha":"e9d1a41d60b86e9075d84ca25ba28d4c85f692a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/issues/1/comments","statuses_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/statuses/91f927b976a40bbc806a8b2f28bf99baa74bf8b2","head":{"label":"DieterReuter:use-scratch-baseimage","ref":"use-scratch-baseimage","sha":"91f927b976a40bbc806a8b2f28bf99baa74bf8b2","user":{"login":"DieterReuter","id":3758971,"avatar_url":"https://avatars.githubusercontent.com/u/3758971?v=3","gravatar_id":"","url":"https://api.github.com/users/DieterReuter","html_url":"https://github.com/DieterReuter","followers_url":"https://api.github.com/users/DieterReuter/followers","following_url":"https://api.github.com/users/DieterReuter/following{/other_user}","gists_url":"https://api.github.com/users/DieterReuter/gists{/gist_id}","starred_url":"https://api.github.com/users/DieterReuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DieterReuter/subscriptions","organizations_url":"https://api.github.com/users/DieterReuter/orgs","repos_url":"https://api.github.com/users/DieterReuter/repos","events_url":"https://api.github.com/users/DieterReuter/events{/privacy}","received_events_url":"https://api.github.com/users/DieterReuter/received_events","type":"User","site_admin":false},"repo":{"id":40559755,"name":"vol-cleanup","full_name":"DieterReuter/vol-cleanup","owner":{"login":"DieterReuter","id":3758971,"avatar_url":"https://avatars.githubusercontent.com/u/3758971?v=3","gravatar_id":"","url":"https://api.github.com/users/DieterReuter","html_url":"https://github.com/DieterReuter","followers_url":"https://api.github.com/users/DieterReuter/followers","following_url":"https://api.github.com/users/DieterReuter/following{/other_user}","gists_url":"https://api.github.com/users/DieterReuter/gists{/gist_id}","starred_url":"https://api.github.com/users/DieterReuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DieterReuter/subscriptions","organizations_url":"https://api.github.com/users/DieterReuter/orgs","repos_url":"https://api.github.com/users/DieterReuter/repos","events_url":"https://api.github.com/users/DieterReuter/events{/privacy}","received_events_url":"https://api.github.com/users/DieterReuter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DieterReuter/vol-cleanup","description":"Clean up Orphaned Docker Volumes","fork":true,"url":"https://api.github.com/repos/DieterReuter/vol-cleanup","forks_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/forks","keys_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/teams","hooks_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/hooks","issue_events_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/issues/events{/number}","events_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/events","assignees_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/assignees{/user}","branches_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/branches{/branch}","tags_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/tags","blobs_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/git/refs{/sha}","trees_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/statuses/{sha}","languages_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/languages","stargazers_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/stargazers","contributors_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/contributors","subscribers_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/subscribers","subscription_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/subscription","commits_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/commits{/sha}","git_commits_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/git/commits{/sha}","comments_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/comments{/number}","issue_comment_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/issues/comments{/number}","contents_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/contents/{+path}","compare_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/merges","archive_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/downloads","issues_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/issues{/number}","pulls_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/pulls{/number}","milestones_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/milestones{/number}","notifications_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/labels{/name}","releases_url":"https://api.github.com/repos/DieterReuter/vol-cleanup/releases{/id}","created_at":"2015-08-11T19:00:09Z","updated_at":"2015-08-11T19:00:09Z","pushed_at":"2015-08-11T19:13:08Z","git_url":"git://github.com/DieterReuter/vol-cleanup.git","ssh_url":"git@github.com:DieterReuter/vol-cleanup.git","clone_url":"https://github.com/DieterReuter/vol-cleanup.git","svn_url":"https://github.com/DieterReuter/vol-cleanup","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"cloudnautique:master","ref":"master","sha":"a4b061f936c8f00933e4122b238c6d0d5152add7","user":{"login":"cloudnautique","id":1989084,"avatar_url":"https://avatars.githubusercontent.com/u/1989084?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudnautique","html_url":"https://github.com/cloudnautique","followers_url":"https://api.github.com/users/cloudnautique/followers","following_url":"https://api.github.com/users/cloudnautique/following{/other_user}","gists_url":"https://api.github.com/users/cloudnautique/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudnautique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudnautique/subscriptions","organizations_url":"https://api.github.com/users/cloudnautique/orgs","repos_url":"https://api.github.com/users/cloudnautique/repos","events_url":"https://api.github.com/users/cloudnautique/events{/privacy}","received_events_url":"https://api.github.com/users/cloudnautique/received_events","type":"User","site_admin":false},"repo":{"id":40463037,"name":"vol-cleanup","full_name":"cloudnautique/vol-cleanup","owner":{"login":"cloudnautique","id":1989084,"avatar_url":"https://avatars.githubusercontent.com/u/1989084?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudnautique","html_url":"https://github.com/cloudnautique","followers_url":"https://api.github.com/users/cloudnautique/followers","following_url":"https://api.github.com/users/cloudnautique/following{/other_user}","gists_url":"https://api.github.com/users/cloudnautique/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudnautique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudnautique/subscriptions","organizations_url":"https://api.github.com/users/cloudnautique/orgs","repos_url":"https://api.github.com/users/cloudnautique/repos","events_url":"https://api.github.com/users/cloudnautique/events{/privacy}","received_events_url":"https://api.github.com/users/cloudnautique/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cloudnautique/vol-cleanup","description":"Clean up Orphaned Docker Volumes","fork":false,"url":"https://api.github.com/repos/cloudnautique/vol-cleanup","forks_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/forks","keys_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/teams","hooks_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/hooks","issue_events_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/issues/events{/number}","events_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/events","assignees_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/assignees{/user}","branches_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/branches{/branch}","tags_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/tags","blobs_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/languages","stargazers_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/stargazers","contributors_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/contributors","subscribers_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/subscribers","subscription_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/subscription","commits_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/contents/{+path}","compare_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/merges","archive_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/downloads","issues_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/issues{/number}","pulls_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/labels{/name}","releases_url":"https://api.github.com/repos/cloudnautique/vol-cleanup/releases{/id}","created_at":"2015-08-10T04:25:32Z","updated_at":"2015-08-12T03:33:30Z","pushed_at":"2015-08-12T04:13:57Z","git_url":"git://github.com/cloudnautique/vol-cleanup.git","ssh_url":"git@github.com:cloudnautique/vol-cleanup.git","clone_url":"https://github.com/cloudnautique/vol-cleanup.git","svn_url":"https://github.com/cloudnautique/vol-cleanup","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls/1"},"html":{"href":"https://github.com/cloudnautique/vol-cleanup/pull/1"},"issue":{"href":"https://api.github.com/repos/cloudnautique/vol-cleanup/issues/1"},"comments":{"href":"https://api.github.com/repos/cloudnautique/vol-cleanup/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudnautique/vol-cleanup/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cloudnautique/vol-cleanup/statuses/91f927b976a40bbc806a8b2f28bf99baa74bf8b2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cloudnautique","id":1989084,"avatar_url":"https://avatars.githubusercontent.com/u/1989084?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudnautique","html_url":"https://github.com/cloudnautique","followers_url":"https://api.github.com/users/cloudnautique/followers","following_url":"https://api.github.com/users/cloudnautique/following{/other_user}","gists_url":"https://api.github.com/users/cloudnautique/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudnautique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudnautique/subscriptions","organizations_url":"https://api.github.com/users/cloudnautique/orgs","repos_url":"https://api.github.com/users/cloudnautique/repos","events_url":"https://api.github.com/users/cloudnautique/events{/privacy}","received_events_url":"https://api.github.com/users/cloudnautique/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}