{"action":"closed","number":42,"pull_request":{"url":"https://api.github.com/repos/docker-library/buildpack-deps/pulls/42","id":57747041,"html_url":"https://github.com/docker-library/buildpack-deps/pull/42","diff_url":"https://github.com/docker-library/buildpack-deps/pull/42.diff","patch_url":"https://github.com/docker-library/buildpack-deps/pull/42.patch","issue_url":"https://api.github.com/repos/docker-library/buildpack-deps/issues/42","number":42,"state":"closed","locked":false,"title":"Expanding distro support & adding alpine buildpack variant","user":{"login":"callbacknull","id":969761,"avatar_url":"https://avatars.githubusercontent.com/u/969761?v=3","gravatar_id":"","url":"https://api.github.com/users/callbacknull","html_url":"https://github.com/callbacknull","followers_url":"https://api.github.com/users/callbacknull/followers","following_url":"https://api.github.com/users/callbacknull/following{/other_user}","gists_url":"https://api.github.com/users/callbacknull/gists{/gist_id}","starred_url":"https://api.github.com/users/callbacknull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callbacknull/subscriptions","organizations_url":"https://api.github.com/users/callbacknull/orgs","repos_url":"https://api.github.com/users/callbacknull/repos","events_url":"https://api.github.com/users/callbacknull/events{/privacy}","received_events_url":"https://api.github.com/users/callbacknull/received_events","type":"User","site_admin":false},"body":"This PR basically begins to add rudimentary support of distro's beyond `debian` and `ubuntu`. The first of those I thought would be a nice addition is the [`alpine` distro](https://hub.docker.com/_/alpine/)\r\n\r\nI think having support for some minimalist linux distros has some very strong advantages that the community will enjoy.\r\n\r\n* Size - `Alpine 3.3`'s 2MB image vs `Debian Jessie`'s 50MB image vs `Ubuntu Trusty`'s 66MB image\r\n* Faster image distribution & boot time\r\n* Better Security - Less code and programs are deployed with each container; We drastically reduce our viable attack surface.\r\n\r\nSize comparison:\r\n```\r\nbuildpack-deps           trusty-curl         199.6 MB\r\nbuildpack-deps           trusty-scm        279.6 MB\r\nbuildpack-deps           trusty                532.6 MB\r\nbuildpack-deps           jessie-curl        169.4 MB\r\nbuildpack-deps           jessie-scm       296.7 MB\r\nbuildpack-deps           jessie               622.3 MB\r\nbuildpack-deps           3.3-curl            10.68 MB\r\nbuildpack-deps           3.3-scm           111.5 MB\r\nbuildpack-deps           3.3                   376.8 MB\r\n``` \r\n\r\nIssues or possible improvements:\r\n* I have the version as `3.3` right now, which might be a little ambiguous. I can make this `alpine-3.3` and parse it in the `update.sh`. Thoughts?\r\n* I think I found equivalent packages for almost everything. I couldn't find any `magick*` packages or a `libcurl4-openssl-dev` - There is a `curl-dev` which also installs `openssl-dev`. Also, `mysql-client` was replaced with `mariadb-cllient` in `alpine 3.2`","created_at":"2016-01-30T18:45:30Z","updated_at":"2016-02-26T00:25:20Z","closed_at":"2016-02-26T00:25:20Z","merged_at":null,"merge_commit_sha":"ac76f62b2787b4392f3e8fdf64d5f4f0b79037b7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker-library/buildpack-deps/pulls/42/commits","review_comments_url":"https://api.github.com/repos/docker-library/buildpack-deps/pulls/42/comments","review_comment_url":"https://api.github.com/repos/docker-library/buildpack-deps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-library/buildpack-deps/issues/42/comments","statuses_url":"https://api.github.com/repos/docker-library/buildpack-deps/statuses/0de70cc32cbb07de89d13cf939e10b54431f2fa5","head":{"label":"Silverlink:feat-alpine-buildpack","ref":"feat-alpine-buildpack","sha":"0de70cc32cbb07de89d13cf939e10b54431f2fa5","user":{"login":"Silverlink","id":10997561,"avatar_url":"https://avatars.githubusercontent.com/u/10997561?v=3","gravatar_id":"","url":"https://api.github.com/users/Silverlink","html_url":"https://github.com/Silverlink","followers_url":"https://api.github.com/users/Silverlink/followers","following_url":"https://api.github.com/users/Silverlink/following{/other_user}","gists_url":"https://api.github.com/users/Silverlink/gists{/gist_id}","starred_url":"https://api.github.com/users/Silverlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Silverlink/subscriptions","organizations_url":"https://api.github.com/users/Silverlink/orgs","repos_url":"https://api.github.com/users/Silverlink/repos","events_url":"https://api.github.com/users/Silverlink/events{/privacy}","received_events_url":"https://api.github.com/users/Silverlink/received_events","type":"Organization","site_admin":false},"repo":{"id":50532756,"name":"buildpack-deps","full_name":"Silverlink/buildpack-deps","owner":{"login":"Silverlink","id":10997561,"avatar_url":"https://avatars.githubusercontent.com/u/10997561?v=3","gravatar_id":"","url":"https://api.github.com/users/Silverlink","html_url":"https://github.com/Silverlink","followers_url":"https://api.github.com/users/Silverlink/followers","following_url":"https://api.github.com/users/Silverlink/following{/other_user}","gists_url":"https://api.github.com/users/Silverlink/gists{/gist_id}","starred_url":"https://api.github.com/users/Silverlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Silverlink/subscriptions","organizations_url":"https://api.github.com/users/Silverlink/orgs","repos_url":"https://api.github.com/users/Silverlink/repos","events_url":"https://api.github.com/users/Silverlink/events{/privacy}","received_events_url":"https://api.github.com/users/Silverlink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Silverlink/buildpack-deps","description":"","fork":true,"url":"https://api.github.com/repos/Silverlink/buildpack-deps","forks_url":"https://api.github.com/repos/Silverlink/buildpack-deps/forks","keys_url":"https://api.github.com/repos/Silverlink/buildpack-deps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Silverlink/buildpack-deps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Silverlink/buildpack-deps/teams","hooks_url":"https://api.github.com/repos/Silverlink/buildpack-deps/hooks","issue_events_url":"https://api.github.com/repos/Silverlink/buildpack-deps/issues/events{/number}","events_url":"https://api.github.com/repos/Silverlink/buildpack-deps/events","assignees_url":"https://api.github.com/repos/Silverlink/buildpack-deps/assignees{/user}","branches_url":"https://api.github.com/repos/Silverlink/buildpack-deps/branches{/branch}","tags_url":"https://api.github.com/repos/Silverlink/buildpack-deps/tags","blobs_url":"https://api.github.com/repos/Silverlink/buildpack-deps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Silverlink/buildpack-deps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Silverlink/buildpack-deps/git/refs{/sha}","trees_url":"https://api.github.com/repos/Silverlink/buildpack-deps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Silverlink/buildpack-deps/statuses/{sha}","languages_url":"https://api.github.com/repos/Silverlink/buildpack-deps/languages","stargazers_url":"https://api.github.com/repos/Silverlink/buildpack-deps/stargazers","contributors_url":"https://api.github.com/repos/Silverlink/buildpack-deps/contributors","subscribers_url":"https://api.github.com/repos/Silverlink/buildpack-deps/subscribers","subscription_url":"https://api.github.com/repos/Silverlink/buildpack-deps/subscription","commits_url":"https://api.github.com/repos/Silverlink/buildpack-deps/commits{/sha}","git_commits_url":"https://api.github.com/repos/Silverlink/buildpack-deps/git/commits{/sha}","comments_url":"https://api.github.com/repos/Silverlink/buildpack-deps/comments{/number}","issue_comment_url":"https://api.github.com/repos/Silverlink/buildpack-deps/issues/comments{/number}","contents_url":"https://api.github.com/repos/Silverlink/buildpack-deps/contents/{+path}","compare_url":"https://api.github.com/repos/Silverlink/buildpack-deps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Silverlink/buildpack-deps/merges","archive_url":"https://api.github.com/repos/Silverlink/buildpack-deps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Silverlink/buildpack-deps/downloads","issues_url":"https://api.github.com/repos/Silverlink/buildpack-deps/issues{/number}","pulls_url":"https://api.github.com/repos/Silverlink/buildpack-deps/pulls{/number}","milestones_url":"https://api.github.com/repos/Silverlink/buildpack-deps/milestones{/number}","notifications_url":"https://api.github.com/repos/Silverlink/buildpack-deps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Silverlink/buildpack-deps/labels{/name}","releases_url":"https://api.github.com/repos/Silverlink/buildpack-deps/releases{/id}","deployments_url":"https://api.github.com/repos/Silverlink/buildpack-deps/deployments","created_at":"2016-01-27T19:40:05Z","updated_at":"2016-01-27T19:40:06Z","pushed_at":"2016-01-30T19:11:08Z","git_url":"git://github.com/Silverlink/buildpack-deps.git","ssh_url":"git@github.com:Silverlink/buildpack-deps.git","clone_url":"https://github.com/Silverlink/buildpack-deps.git","svn_url":"https://github.com/Silverlink/buildpack-deps","homepage":null,"size":53,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"docker-library:master","ref":"master","sha":"99cd78063b47546242cf4e94ba7607b803ad22b6","user":{"login":"docker-library","id":7739233,"avatar_url":"https://avatars.githubusercontent.com/u/7739233?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-library","html_url":"https://github.com/docker-library","followers_url":"https://api.github.com/users/docker-library/followers","following_url":"https://api.github.com/users/docker-library/following{/other_user}","gists_url":"https://api.github.com/users/docker-library/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-library/subscriptions","organizations_url":"https://api.github.com/users/docker-library/orgs","repos_url":"https://api.github.com/users/docker-library/repos","events_url":"https://api.github.com/users/docker-library/events{/privacy}","received_events_url":"https://api.github.com/users/docker-library/received_events","type":"Organization","site_admin":false},"repo":{"id":19959293,"name":"buildpack-deps","full_name":"docker-library/buildpack-deps","owner":{"login":"docker-library","id":7739233,"avatar_url":"https://avatars.githubusercontent.com/u/7739233?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-library","html_url":"https://github.com/docker-library","followers_url":"https://api.github.com/users/docker-library/followers","following_url":"https://api.github.com/users/docker-library/following{/other_user}","gists_url":"https://api.github.com/users/docker-library/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-library/subscriptions","organizations_url":"https://api.github.com/users/docker-library/orgs","repos_url":"https://api.github.com/users/docker-library/repos","events_url":"https://api.github.com/users/docker-library/events{/privacy}","received_events_url":"https://api.github.com/users/docker-library/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker-library/buildpack-deps","description":"","fork":false,"url":"https://api.github.com/repos/docker-library/buildpack-deps","forks_url":"https://api.github.com/repos/docker-library/buildpack-deps/forks","keys_url":"https://api.github.com/repos/docker-library/buildpack-deps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-library/buildpack-deps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-library/buildpack-deps/teams","hooks_url":"https://api.github.com/repos/docker-library/buildpack-deps/hooks","issue_events_url":"https://api.github.com/repos/docker-library/buildpack-deps/issues/events{/number}","events_url":"https://api.github.com/repos/docker-library/buildpack-deps/events","assignees_url":"https://api.github.com/repos/docker-library/buildpack-deps/assignees{/user}","branches_url":"https://api.github.com/repos/docker-library/buildpack-deps/branches{/branch}","tags_url":"https://api.github.com/repos/docker-library/buildpack-deps/tags","blobs_url":"https://api.github.com/repos/docker-library/buildpack-deps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-library/buildpack-deps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-library/buildpack-deps/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-library/buildpack-deps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-library/buildpack-deps/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-library/buildpack-deps/languages","stargazers_url":"https://api.github.com/repos/docker-library/buildpack-deps/stargazers","contributors_url":"https://api.github.com/repos/docker-library/buildpack-deps/contributors","subscribers_url":"https://api.github.com/repos/docker-library/buildpack-deps/subscribers","subscription_url":"https://api.github.com/repos/docker-library/buildpack-deps/subscription","commits_url":"https://api.github.com/repos/docker-library/buildpack-deps/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-library/buildpack-deps/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-library/buildpack-deps/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-library/buildpack-deps/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-library/buildpack-deps/contents/{+path}","compare_url":"https://api.github.com/repos/docker-library/buildpack-deps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-library/buildpack-deps/merges","archive_url":"https://api.github.com/repos/docker-library/buildpack-deps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-library/buildpack-deps/downloads","issues_url":"https://api.github.com/repos/docker-library/buildpack-deps/issues{/number}","pulls_url":"https://api.github.com/repos/docker-library/buildpack-deps/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-library/buildpack-deps/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-library/buildpack-deps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-library/buildpack-deps/labels{/name}","releases_url":"https://api.github.com/repos/docker-library/buildpack-deps/releases{/id}","deployments_url":"https://api.github.com/repos/docker-library/buildpack-deps/deployments","created_at":"2014-05-19T22:04:07Z","updated_at":"2016-02-21T22:49:52Z","pushed_at":"2016-02-11T22:45:28Z","git_url":"git://github.com/docker-library/buildpack-deps.git","ssh_url":"git@github.com:docker-library/buildpack-deps.git","clone_url":"https://github.com/docker-library/buildpack-deps.git","svn_url":"https://github.com/docker-library/buildpack-deps","homepage":null,"size":88,"stargazers_count":93,"watchers_count":93,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":8,"forks":41,"open_issues":8,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-library/buildpack-deps/pulls/42"},"html":{"href":"https://github.com/docker-library/buildpack-deps/pull/42"},"issue":{"href":"https://api.github.com/repos/docker-library/buildpack-deps/issues/42"},"comments":{"href":"https://api.github.com/repos/docker-library/buildpack-deps/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-library/buildpack-deps/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-library/buildpack-deps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-library/buildpack-deps/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/docker-library/buildpack-deps/statuses/0de70cc32cbb07de89d13cf939e10b54431f2fa5"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":4,"additions":124,"deletions":4,"changed_files":14}}