{"action":"opened","issue":{"url":"https://api.github.com/repos/docker-library/php/issues/388","repository_url":"https://api.github.com/repos/docker-library/php","labels_url":"https://api.github.com/repos/docker-library/php/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/php/issues/388/comments","events_url":"https://api.github.com/repos/docker-library/php/issues/388/events","html_url":"https://github.com/docker-library/php/issues/388","id":214339630,"number":388,"title":"Using ARG to provide UID and GID for www-data","user":{"login":"kuborgh-mspindelhirn","id":5138512,"avatar_url":"https://avatars2.githubusercontent.com/u/5138512?v=3","gravatar_id":"","url":"https://api.github.com/users/kuborgh-mspindelhirn","html_url":"https://github.com/kuborgh-mspindelhirn","followers_url":"https://api.github.com/users/kuborgh-mspindelhirn/followers","following_url":"https://api.github.com/users/kuborgh-mspindelhirn/following{/other_user}","gists_url":"https://api.github.com/users/kuborgh-mspindelhirn/gists{/gist_id}","starred_url":"https://api.github.com/users/kuborgh-mspindelhirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuborgh-mspindelhirn/subscriptions","organizations_url":"https://api.github.com/users/kuborgh-mspindelhirn/orgs","repos_url":"https://api.github.com/users/kuborgh-mspindelhirn/repos","events_url":"https://api.github.com/users/kuborgh-mspindelhirn/events{/privacy}","received_events_url":"https://api.github.com/users/kuborgh-mspindelhirn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-15T10:04:49Z","updated_at":"2017-03-15T10:04:49Z","closed_at":null,"body":"Would be nice to be able to map the www-data User to have the same UID of the non root shell user that works outside of the container. \r\nAllows for creating a better experience for mapped volumes.\r\n\r\nAs currently www-data is fixed to use 82 I do not see this BC if we use 82 as the default\r\n\r\nSo something like\r\n```\r\nARG wwwdatauid=1001\r\nARG wwwdatagid=1001\r\nRUN addgroup -g $wwwdatagid -S www-data \\\r\n\t&& adduser -u $wwwdatauid -D -S -G www-data www-data\r\n```"}}
{"actor":{"display_login":"kuborgh-mspindelhirn"}}