{"action":"created","comment":{"url":"https://api.github.com/repos/docker-library/docs/pulls/comments/70730989","id":70730989,"diff_hunk":"@@ -68,6 +68,15 @@ Where `src/` is the directory containing all your php code and `config/` contain\n \n We provide the helper scripts `docker-php-ext-configure`, `docker-php-ext-install`, and `docker-php-ext-enable` to more easily install PHP extensions.\n \n+In order to keep the images smaller, the php source is kept in a compressed tar file. To facilitate linking of the php source with any extension, we also provide the helper script `docker-php-source` to easily extract the tar or delete the extracted source. Note: if you do use `docker-php-source` to extract the source, be sure to delete it in the same layer of the docker image.\n+\n+```Dockerfile\n+FROM php:5-apache","path":"php/content.md","position":7,"original_position":7,"commit_id":"e684406d7e86967147594ed3a064f4ce3fa710dd","original_commit_id":"e684406d7e86967147594ed3a064f4ce3fa710dd","user":{"login":"tianon","id":161631,"avatar_url":"https://avatars.githubusercontent.com/u/161631?v=3","gravatar_id":"","url":"https://api.github.com/users/tianon","html_url":"https://github.com/tianon","followers_url":"https://api.github.com/users/tianon/followers","following_url":"https://api.github.com/users/tianon/following{/other_user}","gists_url":"https://api.github.com/users/tianon/gists{/gist_id}","starred_url":"https://api.github.com/users/tianon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianon/subscriptions","organizations_url":"https://api.github.com/users/tianon/orgs","repos_url":"https://api.github.com/users/tianon/repos","events_url":"https://api.github.com/users/tianon/events{/privacy}","received_events_url":"https://api.github.com/users/tianon/received_events","type":"User","site_admin":false},"body":":astonished: the `fpm` example below is using `:5` too :disappointed:","created_at":"2016-07-14T00:17:41Z","updated_at":"2016-07-14T00:17:41Z","html_url":"https://github.com/docker-library/docs/pull/638#discussion_r70730989","pull_request_url":"https://api.github.com/repos/docker-library/docs/pulls/638","_links":{"self":{"href":"https://api.github.com/repos/docker-library/docs/pulls/comments/70730989"},"html":{"href":"https://github.com/docker-library/docs/pull/638#discussion_r70730989"},"pull_request":{"href":"https://api.github.com/repos/docker-library/docs/pulls/638"}}},"pull_request":{"url":"https://api.github.com/repos/docker-library/docs/pulls/638","id":77212915,"html_url":"https://github.com/docker-library/docs/pull/638","diff_url":"https://github.com/docker-library/docs/pull/638.diff","patch_url":"https://github.com/docker-library/docs/pull/638.patch","issue_url":"https://api.github.com/repos/docker-library/docs/issues/638","number":638,"state":"open","locked":false,"title":"Add explanation to php for `docker-php-source`","user":{"login":"yosifkit","id":896423,"avatar_url":"https://avatars.githubusercontent.com/u/896423?v=3","gravatar_id":"","url":"https://api.github.com/users/yosifkit","html_url":"https://github.com/yosifkit","followers_url":"https://api.github.com/users/yosifkit/followers","following_url":"https://api.github.com/users/yosifkit/following{/other_user}","gists_url":"https://api.github.com/users/yosifkit/gists{/gist_id}","starred_url":"https://api.github.com/users/yosifkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosifkit/subscriptions","organizations_url":"https://api.github.com/users/yosifkit/orgs","repos_url":"https://api.github.com/users/yosifkit/repos","events_url":"https://api.github.com/users/yosifkit/events{/privacy}","received_events_url":"https://api.github.com/users/yosifkit/received_events","type":"User","site_admin":false},"body":"Depends on https://github.com/docker-library/official-images/pull/1942","created_at":"2016-07-13T00:22:58Z","updated_at":"2016-07-14T00:17:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65b73763077d44b086fa36ea93b24f354174697e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker-library/docs/pulls/638/commits","review_comments_url":"https://api.github.com/repos/docker-library/docs/pulls/638/comments","review_comment_url":"https://api.github.com/repos/docker-library/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-library/docs/issues/638/comments","statuses_url":"https://api.github.com/repos/docker-library/docs/statuses/e684406d7e86967147594ed3a064f4ce3fa710dd","head":{"label":"infosiftr:php-rm-src","ref":"php-rm-src","sha":"e684406d7e86967147594ed3a064f4ce3fa710dd","user":{"login":"infosiftr","id":894614,"avatar_url":"https://avatars.githubusercontent.com/u/894614?v=3","gravatar_id":"","url":"https://api.github.com/users/infosiftr","html_url":"https://github.com/infosiftr","followers_url":"https://api.github.com/users/infosiftr/followers","following_url":"https://api.github.com/users/infosiftr/following{/other_user}","gists_url":"https://api.github.com/users/infosiftr/gists{/gist_id}","starred_url":"https://api.github.com/users/infosiftr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infosiftr/subscriptions","organizations_url":"https://api.github.com/users/infosiftr/orgs","repos_url":"https://api.github.com/users/infosiftr/repos","events_url":"https://api.github.com/users/infosiftr/events{/privacy}","received_events_url":"https://api.github.com/users/infosiftr/received_events","type":"Organization","site_admin":false},"repo":{"id":23717735,"name":"docker-library-docs","full_name":"infosiftr/docker-library-docs","owner":{"login":"infosiftr","id":894614,"avatar_url":"https://avatars.githubusercontent.com/u/894614?v=3","gravatar_id":"","url":"https://api.github.com/users/infosiftr","html_url":"https://github.com/infosiftr","followers_url":"https://api.github.com/users/infosiftr/followers","following_url":"https://api.github.com/users/infosiftr/following{/other_user}","gists_url":"https://api.github.com/users/infosiftr/gists{/gist_id}","starred_url":"https://api.github.com/users/infosiftr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infosiftr/subscriptions","organizations_url":"https://api.github.com/users/infosiftr/orgs","repos_url":"https://api.github.com/users/infosiftr/repos","events_url":"https://api.github.com/users/infosiftr/events{/privacy}","received_events_url":"https://api.github.com/users/infosiftr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infosiftr/docker-library-docs","description":"Documentation for Docker Official Images in docker-library","fork":true,"url":"https://api.github.com/repos/infosiftr/docker-library-docs","forks_url":"https://api.github.com/repos/infosiftr/docker-library-docs/forks","keys_url":"https://api.github.com/repos/infosiftr/docker-library-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infosiftr/docker-library-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infosiftr/docker-library-docs/teams","hooks_url":"https://api.github.com/repos/infosiftr/docker-library-docs/hooks","issue_events_url":"https://api.github.com/repos/infosiftr/docker-library-docs/issues/events{/number}","events_url":"https://api.github.com/repos/infosiftr/docker-library-docs/events","assignees_url":"https://api.github.com/repos/infosiftr/docker-library-docs/assignees{/user}","branches_url":"https://api.github.com/repos/infosiftr/docker-library-docs/branches{/branch}","tags_url":"https://api.github.com/repos/infosiftr/docker-library-docs/tags","blobs_url":"https://api.github.com/repos/infosiftr/docker-library-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infosiftr/docker-library-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infosiftr/docker-library-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/infosiftr/docker-library-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infosiftr/docker-library-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/infosiftr/docker-library-docs/languages","stargazers_url":"https://api.github.com/repos/infosiftr/docker-library-docs/stargazers","contributors_url":"https://api.github.com/repos/infosiftr/docker-library-docs/contributors","subscribers_url":"https://api.github.com/repos/infosiftr/docker-library-docs/subscribers","subscription_url":"https://api.github.com/repos/infosiftr/docker-library-docs/subscription","commits_url":"https://api.github.com/repos/infosiftr/docker-library-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/infosiftr/docker-library-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/infosiftr/docker-library-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/infosiftr/docker-library-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/infosiftr/docker-library-docs/contents/{+path}","compare_url":"https://api.github.com/repos/infosiftr/docker-library-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infosiftr/docker-library-docs/merges","archive_url":"https://api.github.com/repos/infosiftr/docker-library-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infosiftr/docker-library-docs/downloads","issues_url":"https://api.github.com/repos/infosiftr/docker-library-docs/issues{/number}","pulls_url":"https://api.github.com/repos/infosiftr/docker-library-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/infosiftr/docker-library-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/infosiftr/docker-library-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infosiftr/docker-library-docs/labels{/name}","releases_url":"https://api.github.com/repos/infosiftr/docker-library-docs/releases{/id}","deployments_url":"https://api.github.com/repos/infosiftr/docker-library-docs/deployments","created_at":"2014-09-05T20:42:48Z","updated_at":"2016-05-13T21:12:43Z","pushed_at":"2016-07-13T21:42:07Z","git_url":"git://github.com/infosiftr/docker-library-docs.git","ssh_url":"git@github.com:infosiftr/docker-library-docs.git","clone_url":"https://github.com/infosiftr/docker-library-docs.git","svn_url":"https://github.com/infosiftr/docker-library-docs","homepage":"","size":32608,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker-library:master","ref":"master","sha":"2a3e1048d705576c7e97bed149ac689f88a69f99","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":22484898,"name":"docs","full_name":"docker-library/docs","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/docs","description":"Documentation for Docker Official Images in docker-library","fork":false,"url":"https://api.github.com/repos/docker-library/docs","forks_url":"https://api.github.com/repos/docker-library/docs/forks","keys_url":"https://api.github.com/repos/docker-library/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-library/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-library/docs/teams","hooks_url":"https://api.github.com/repos/docker-library/docs/hooks","issue_events_url":"https://api.github.com/repos/docker-library/docs/issues/events{/number}","events_url":"https://api.github.com/repos/docker-library/docs/events","assignees_url":"https://api.github.com/repos/docker-library/docs/assignees{/user}","branches_url":"https://api.github.com/repos/docker-library/docs/branches{/branch}","tags_url":"https://api.github.com/repos/docker-library/docs/tags","blobs_url":"https://api.github.com/repos/docker-library/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-library/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-library/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-library/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-library/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-library/docs/languages","stargazers_url":"https://api.github.com/repos/docker-library/docs/stargazers","contributors_url":"https://api.github.com/repos/docker-library/docs/contributors","subscribers_url":"https://api.github.com/repos/docker-library/docs/subscribers","subscription_url":"https://api.github.com/repos/docker-library/docs/subscription","commits_url":"https://api.github.com/repos/docker-library/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-library/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-library/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-library/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-library/docs/contents/{+path}","compare_url":"https://api.github.com/repos/docker-library/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-library/docs/merges","archive_url":"https://api.github.com/repos/docker-library/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-library/docs/downloads","issues_url":"https://api.github.com/repos/docker-library/docs/issues{/number}","pulls_url":"https://api.github.com/repos/docker-library/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-library/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-library/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-library/docs/labels{/name}","releases_url":"https://api.github.com/repos/docker-library/docs/releases{/id}","deployments_url":"https://api.github.com/repos/docker-library/docs/deployments","created_at":"2014-07-31T21:02:22Z","updated_at":"2016-07-13T18:08:08Z","pushed_at":"2016-07-14T00:16:26Z","git_url":"git://github.com/docker-library/docs.git","ssh_url":"git@github.com:docker-library/docs.git","clone_url":"https://github.com/docker-library/docs.git","svn_url":"https://github.com/docker-library/docs","homepage":"https://github.com/docker-library/official-images","size":35529,"stargazers_count":790,"watchers_count":790,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":499,"mirror_url":null,"open_issues_count":56,"forks":499,"open_issues":56,"watchers":790,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-library/docs/pulls/638"},"html":{"href":"https://github.com/docker-library/docs/pull/638"},"issue":{"href":"https://api.github.com/repos/docker-library/docs/issues/638"},"comments":{"href":"https://api.github.com/repos/docker-library/docs/issues/638/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-library/docs/pulls/638/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-library/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-library/docs/pulls/638/commits"},"statuses":{"href":"https://api.github.com/repos/docker-library/docs/statuses/e684406d7e86967147594ed3a064f4ce3fa710dd"}}}}
{"actor":{"display_login":"tianon"}}