{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/docker/issues/223","repository_url":"https://api.github.com/repos/jenkinsci/docker","labels_url":"https://api.github.com/repos/jenkinsci/docker/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/docker/issues/223/comments","events_url":"https://api.github.com/repos/jenkinsci/docker/issues/223/events","html_url":"https://github.com/jenkinsci/docker/pull/223","id":140721234,"number":223,"title":"Make user/group/uid/gid configurable with docker --build-arg","user":{"login":"stigsb","id":169939,"avatar_url":"https://avatars.githubusercontent.com/u/169939?v=3","gravatar_id":"","url":"https://api.github.com/users/stigsb","html_url":"https://github.com/stigsb","followers_url":"https://api.github.com/users/stigsb/followers","following_url":"https://api.github.com/users/stigsb/following{/other_user}","gists_url":"https://api.github.com/users/stigsb/gists{/gist_id}","starred_url":"https://api.github.com/users/stigsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stigsb/subscriptions","organizations_url":"https://api.github.com/users/stigsb/orgs","repos_url":"https://api.github.com/users/stigsb/repos","events_url":"https://api.github.com/users/stigsb/events{/privacy}","received_events_url":"https://api.github.com/users/stigsb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T16:16:32Z","updated_at":"2016-03-16T07:35:08Z","closed_at":"2016-03-16T07:35:04Z","pull_request":{"url":"https://api.github.com/repos/jenkinsci/docker/pulls/223","html_url":"https://github.com/jenkinsci/docker/pull/223","diff_url":"https://github.com/jenkinsci/docker/pull/223.diff","patch_url":"https://github.com/jenkinsci/docker/pull/223.patch"},"body":"Parameterize the user/group name, uid and gid of the Jenkins user.\r\n\r\nWe are using this docker image for our Jenkins master, but have had to clone-and-patch it to make sure we get the proper UID and GID for the Jenkins user when volume-binding `/var/jenkins_home`.\r\n\r\nThis PR adds two [ARG](https://docs.docker.com/engine/reference/builder/#arg) parameters in the dockerfile that lets you customize uid/gid when building the image. This does require Docker 1.9 or newer for building.\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/docker/issues/comments/197197015","html_url":"https://github.com/jenkinsci/docker/pull/223#issuecomment-197197015","issue_url":"https://api.github.com/repos/jenkinsci/docker/issues/223","id":197197015,"user":{"login":"carlossg","id":23651,"avatar_url":"https://avatars.githubusercontent.com/u/23651?v=3","gravatar_id":"","url":"https://api.github.com/users/carlossg","html_url":"https://github.com/carlossg","followers_url":"https://api.github.com/users/carlossg/followers","following_url":"https://api.github.com/users/carlossg/following{/other_user}","gists_url":"https://api.github.com/users/carlossg/gists{/gist_id}","starred_url":"https://api.github.com/users/carlossg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlossg/subscriptions","organizations_url":"https://api.github.com/users/carlossg/orgs","repos_url":"https://api.github.com/users/carlossg/repos","events_url":"https://api.github.com/users/carlossg/events{/privacy}","received_events_url":"https://api.github.com/users/carlossg/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T07:35:08Z","updated_at":"2016-03-16T07:35:08Z","body":"thanks!"}}