{"action":"created","comment":{"url":"https://api.github.com/repos/iamluc/dockerfiles/pulls/comments/48769699","id":48769699,"diff_hunk":"@@ -1,10 +1,18 @@\n #!/bin/bash\n set -e\n \n+: ${WWW_DATA_UID:=`stat -c %u /var/www/html`}\n+: ${WWW_DATA_GUID:=`stat -c %g /var/www/html`}\n+\n # Change www-data's uid & guid to be the same as directory in host\n # Fix cache problems\n-usermod -u `stat -c %u /var/www/html` www-data || true\n-groupmod -g `stat -c %g /var/www/html` www-data || true\n+if [ \"`id -u www-data`\" != \"$WWW_DATA_UID\" ]; then","path":"symfony/entrypoint.sh","position":11,"original_position":11,"commit_id":"1fbae4f726ad5d6c4bc5b5b9d8489cb726de168a","original_commit_id":"fd4556a4ada1184a5594115fee8b711cb49d62fe","user":{"login":"blazarecki","id":1443312,"avatar_url":"https://avatars.githubusercontent.com/u/1443312?v=3","gravatar_id":"","url":"https://api.github.com/users/blazarecki","html_url":"https://github.com/blazarecki","followers_url":"https://api.github.com/users/blazarecki/followers","following_url":"https://api.github.com/users/blazarecki/following{/other_user}","gists_url":"https://api.github.com/users/blazarecki/gists{/gist_id}","starred_url":"https://api.github.com/users/blazarecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blazarecki/subscriptions","organizations_url":"https://api.github.com/users/blazarecki/orgs","repos_url":"https://api.github.com/users/blazarecki/repos","events_url":"https://api.github.com/users/blazarecki/events{/privacy}","received_events_url":"https://api.github.com/users/blazarecki/received_events","type":"User","site_admin":false},"body":"I update the PR, now it display a explicit error message. What do you think ?","created_at":"2016-01-04T19:28:42Z","updated_at":"2016-01-04T19:28:42Z","html_url":"https://github.com/iamluc/dockerfiles/pull/1#discussion_r48769699","pull_request_url":"https://api.github.com/repos/iamluc/dockerfiles/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/iamluc/dockerfiles/pulls/comments/48769699"},"html":{"href":"https://github.com/iamluc/dockerfiles/pull/1#discussion_r48769699"},"pull_request":{"href":"https://api.github.com/repos/iamluc/dockerfiles/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/iamluc/dockerfiles/pulls/1","id":51933592,"html_url":"https://github.com/iamluc/dockerfiles/pull/1","diff_url":"https://github.com/iamluc/dockerfiles/pull/1.diff","patch_url":"https://github.com/iamluc/dockerfiles/pull/1.patch","issue_url":"https://api.github.com/repos/iamluc/dockerfiles/issues/1","number":1,"state":"open","locked":false,"title":"Hide `groupmod: GID '50' already exists` error message on MacOSX","user":{"login":"blazarecki","id":1443312,"avatar_url":"https://avatars.githubusercontent.com/u/1443312?v=3","gravatar_id":"","url":"https://api.github.com/users/blazarecki","html_url":"https://github.com/blazarecki","followers_url":"https://api.github.com/users/blazarecki/followers","following_url":"https://api.github.com/users/blazarecki/following{/other_user}","gists_url":"https://api.github.com/users/blazarecki/gists{/gist_id}","starred_url":"https://api.github.com/users/blazarecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blazarecki/subscriptions","organizations_url":"https://api.github.com/users/blazarecki/orgs","repos_url":"https://api.github.com/users/blazarecki/repos","events_url":"https://api.github.com/users/blazarecki/events{/privacy}","received_events_url":"https://api.github.com/users/blazarecki/received_events","type":"User","site_admin":false},"body":"On MacOSX, when we use your image we always have this output : `groupmod: GID '50' already exists`.\r\n\r\nThis PR fix this.\r\n\r\nWhat do you think ?","created_at":"2015-11-26T17:02:38Z","updated_at":"2016-01-04T19:28:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ea4d6f885ee1d4e8cdf070fcba38a95a2a52d8c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iamluc/dockerfiles/pulls/1/commits","review_comments_url":"https://api.github.com/repos/iamluc/dockerfiles/pulls/1/comments","review_comment_url":"https://api.github.com/repos/iamluc/dockerfiles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iamluc/dockerfiles/issues/1/comments","statuses_url":"https://api.github.com/repos/iamluc/dockerfiles/statuses/1fbae4f726ad5d6c4bc5b5b9d8489cb726de168a","head":{"label":"blazarecki:patch-1","ref":"patch-1","sha":"1fbae4f726ad5d6c4bc5b5b9d8489cb726de168a","user":{"login":"blazarecki","id":1443312,"avatar_url":"https://avatars.githubusercontent.com/u/1443312?v=3","gravatar_id":"","url":"https://api.github.com/users/blazarecki","html_url":"https://github.com/blazarecki","followers_url":"https://api.github.com/users/blazarecki/followers","following_url":"https://api.github.com/users/blazarecki/following{/other_user}","gists_url":"https://api.github.com/users/blazarecki/gists{/gist_id}","starred_url":"https://api.github.com/users/blazarecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blazarecki/subscriptions","organizations_url":"https://api.github.com/users/blazarecki/orgs","repos_url":"https://api.github.com/users/blazarecki/repos","events_url":"https://api.github.com/users/blazarecki/events{/privacy}","received_events_url":"https://api.github.com/users/blazarecki/received_events","type":"User","site_admin":false},"repo":{"id":46938420,"name":"dockerfiles","full_name":"blazarecki/dockerfiles","owner":{"login":"blazarecki","id":1443312,"avatar_url":"https://avatars.githubusercontent.com/u/1443312?v=3","gravatar_id":"","url":"https://api.github.com/users/blazarecki","html_url":"https://github.com/blazarecki","followers_url":"https://api.github.com/users/blazarecki/followers","following_url":"https://api.github.com/users/blazarecki/following{/other_user}","gists_url":"https://api.github.com/users/blazarecki/gists{/gist_id}","starred_url":"https://api.github.com/users/blazarecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blazarecki/subscriptions","organizations_url":"https://api.github.com/users/blazarecki/orgs","repos_url":"https://api.github.com/users/blazarecki/repos","events_url":"https://api.github.com/users/blazarecki/events{/privacy}","received_events_url":"https://api.github.com/users/blazarecki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blazarecki/dockerfiles","description":"My public Dockerfiles","fork":true,"url":"https://api.github.com/repos/blazarecki/dockerfiles","forks_url":"https://api.github.com/repos/blazarecki/dockerfiles/forks","keys_url":"https://api.github.com/repos/blazarecki/dockerfiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blazarecki/dockerfiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blazarecki/dockerfiles/teams","hooks_url":"https://api.github.com/repos/blazarecki/dockerfiles/hooks","issue_events_url":"https://api.github.com/repos/blazarecki/dockerfiles/issues/events{/number}","events_url":"https://api.github.com/repos/blazarecki/dockerfiles/events","assignees_url":"https://api.github.com/repos/blazarecki/dockerfiles/assignees{/user}","branches_url":"https://api.github.com/repos/blazarecki/dockerfiles/branches{/branch}","tags_url":"https://api.github.com/repos/blazarecki/dockerfiles/tags","blobs_url":"https://api.github.com/repos/blazarecki/dockerfiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blazarecki/dockerfiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blazarecki/dockerfiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/blazarecki/dockerfiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blazarecki/dockerfiles/statuses/{sha}","languages_url":"https://api.github.com/repos/blazarecki/dockerfiles/languages","stargazers_url":"https://api.github.com/repos/blazarecki/dockerfiles/stargazers","contributors_url":"https://api.github.com/repos/blazarecki/dockerfiles/contributors","subscribers_url":"https://api.github.com/repos/blazarecki/dockerfiles/subscribers","subscription_url":"https://api.github.com/repos/blazarecki/dockerfiles/subscription","commits_url":"https://api.github.com/repos/blazarecki/dockerfiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/blazarecki/dockerfiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/blazarecki/dockerfiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/blazarecki/dockerfiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/blazarecki/dockerfiles/contents/{+path}","compare_url":"https://api.github.com/repos/blazarecki/dockerfiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blazarecki/dockerfiles/merges","archive_url":"https://api.github.com/repos/blazarecki/dockerfiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blazarecki/dockerfiles/downloads","issues_url":"https://api.github.com/repos/blazarecki/dockerfiles/issues{/number}","pulls_url":"https://api.github.com/repos/blazarecki/dockerfiles/pulls{/number}","milestones_url":"https://api.github.com/repos/blazarecki/dockerfiles/milestones{/number}","notifications_url":"https://api.github.com/repos/blazarecki/dockerfiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blazarecki/dockerfiles/labels{/name}","releases_url":"https://api.github.com/repos/blazarecki/dockerfiles/releases{/id}","created_at":"2015-11-26T16:59:55Z","updated_at":"2015-11-26T16:59:56Z","pushed_at":"2016-01-04T19:28:12Z","git_url":"git://github.com/blazarecki/dockerfiles.git","ssh_url":"git@github.com:blazarecki/dockerfiles.git","clone_url":"https://github.com/blazarecki/dockerfiles.git","svn_url":"https://github.com/blazarecki/dockerfiles","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"iamluc:master","ref":"master","sha":"13197e4dbbde0429a859ad9e043d86eae1d9d3b7","user":{"login":"iamluc","id":1539731,"avatar_url":"https://avatars.githubusercontent.com/u/1539731?v=3","gravatar_id":"","url":"https://api.github.com/users/iamluc","html_url":"https://github.com/iamluc","followers_url":"https://api.github.com/users/iamluc/followers","following_url":"https://api.github.com/users/iamluc/following{/other_user}","gists_url":"https://api.github.com/users/iamluc/gists{/gist_id}","starred_url":"https://api.github.com/users/iamluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamluc/subscriptions","organizations_url":"https://api.github.com/users/iamluc/orgs","repos_url":"https://api.github.com/users/iamluc/repos","events_url":"https://api.github.com/users/iamluc/events{/privacy}","received_events_url":"https://api.github.com/users/iamluc/received_events","type":"User","site_admin":false},"repo":{"id":42709590,"name":"dockerfiles","full_name":"iamluc/dockerfiles","owner":{"login":"iamluc","id":1539731,"avatar_url":"https://avatars.githubusercontent.com/u/1539731?v=3","gravatar_id":"","url":"https://api.github.com/users/iamluc","html_url":"https://github.com/iamluc","followers_url":"https://api.github.com/users/iamluc/followers","following_url":"https://api.github.com/users/iamluc/following{/other_user}","gists_url":"https://api.github.com/users/iamluc/gists{/gist_id}","starred_url":"https://api.github.com/users/iamluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamluc/subscriptions","organizations_url":"https://api.github.com/users/iamluc/orgs","repos_url":"https://api.github.com/users/iamluc/repos","events_url":"https://api.github.com/users/iamluc/events{/privacy}","received_events_url":"https://api.github.com/users/iamluc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iamluc/dockerfiles","description":"My public Dockerfiles","fork":false,"url":"https://api.github.com/repos/iamluc/dockerfiles","forks_url":"https://api.github.com/repos/iamluc/dockerfiles/forks","keys_url":"https://api.github.com/repos/iamluc/dockerfiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iamluc/dockerfiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iamluc/dockerfiles/teams","hooks_url":"https://api.github.com/repos/iamluc/dockerfiles/hooks","issue_events_url":"https://api.github.com/repos/iamluc/dockerfiles/issues/events{/number}","events_url":"https://api.github.com/repos/iamluc/dockerfiles/events","assignees_url":"https://api.github.com/repos/iamluc/dockerfiles/assignees{/user}","branches_url":"https://api.github.com/repos/iamluc/dockerfiles/branches{/branch}","tags_url":"https://api.github.com/repos/iamluc/dockerfiles/tags","blobs_url":"https://api.github.com/repos/iamluc/dockerfiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iamluc/dockerfiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iamluc/dockerfiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/iamluc/dockerfiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iamluc/dockerfiles/statuses/{sha}","languages_url":"https://api.github.com/repos/iamluc/dockerfiles/languages","stargazers_url":"https://api.github.com/repos/iamluc/dockerfiles/stargazers","contributors_url":"https://api.github.com/repos/iamluc/dockerfiles/contributors","subscribers_url":"https://api.github.com/repos/iamluc/dockerfiles/subscribers","subscription_url":"https://api.github.com/repos/iamluc/dockerfiles/subscription","commits_url":"https://api.github.com/repos/iamluc/dockerfiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/iamluc/dockerfiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/iamluc/dockerfiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/iamluc/dockerfiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/iamluc/dockerfiles/contents/{+path}","compare_url":"https://api.github.com/repos/iamluc/dockerfiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iamluc/dockerfiles/merges","archive_url":"https://api.github.com/repos/iamluc/dockerfiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iamluc/dockerfiles/downloads","issues_url":"https://api.github.com/repos/iamluc/dockerfiles/issues{/number}","pulls_url":"https://api.github.com/repos/iamluc/dockerfiles/pulls{/number}","milestones_url":"https://api.github.com/repos/iamluc/dockerfiles/milestones{/number}","notifications_url":"https://api.github.com/repos/iamluc/dockerfiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iamluc/dockerfiles/labels{/name}","releases_url":"https://api.github.com/repos/iamluc/dockerfiles/releases{/id}","created_at":"2015-09-18T08:37:57Z","updated_at":"2015-11-13T06:53:45Z","pushed_at":"2016-01-04T19:28:12Z","git_url":"git://github.com/iamluc/dockerfiles.git","ssh_url":"git@github.com:iamluc/dockerfiles.git","clone_url":"https://github.com/iamluc/dockerfiles.git","svn_url":"https://github.com/iamluc/dockerfiles","homepage":null,"size":12,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iamluc/dockerfiles/pulls/1"},"html":{"href":"https://github.com/iamluc/dockerfiles/pull/1"},"issue":{"href":"https://api.github.com/repos/iamluc/dockerfiles/issues/1"},"comments":{"href":"https://api.github.com/repos/iamluc/dockerfiles/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/iamluc/dockerfiles/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/iamluc/dockerfiles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iamluc/dockerfiles/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/iamluc/dockerfiles/statuses/1fbae4f726ad5d6c4bc5b5b9d8489cb726de168a"}}}}