{"action":"created","issue":{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/352","labels_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/352/comments","events_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/352/events","html_url":"https://github.com/rhuss/docker-maven-plugin/issues/352","id":121055667,"number":352,"title":"Support for switching USER","user":{"login":"mike-williams","id":3205476,"avatar_url":"https://avatars.githubusercontent.com/u/3205476?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-williams","html_url":"https://github.com/mike-williams","followers_url":"https://api.github.com/users/mike-williams/followers","following_url":"https://api.github.com/users/mike-williams/following{/other_user}","gists_url":"https://api.github.com/users/mike-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-williams/subscriptions","organizations_url":"https://api.github.com/users/mike-williams/orgs","repos_url":"https://api.github.com/users/mike-williams/repos","events_url":"https://api.github.com/users/mike-williams/events{/privacy}","received_events_url":"https://api.github.com/users/mike-williams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-08T17:20:32Z","updated_at":"2015-12-08T19:22:34Z","closed_at":null,"body":"Hi is it possible to the current user to another directly within plugin? For example the Dockerfile that I am basing from is using 'jboss' user but I need to switch back to 'root' user (e.g. USER root - in the Dockerfile). So far I have been unsuccessful in replicating this. Thanks in advance for any help."},"comment":{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/comments/162988010","html_url":"https://github.com/rhuss/docker-maven-plugin/issues/352#issuecomment-162988010","issue_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/352","id":162988010,"user":{"login":"jgangemi","id":1831839,"avatar_url":"https://avatars.githubusercontent.com/u/1831839?v=3","gravatar_id":"","url":"https://api.github.com/users/jgangemi","html_url":"https://github.com/jgangemi","followers_url":"https://api.github.com/users/jgangemi/followers","following_url":"https://api.github.com/users/jgangemi/following{/other_user}","gists_url":"https://api.github.com/users/jgangemi/gists{/gist_id}","starred_url":"https://api.github.com/users/jgangemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgangemi/subscriptions","organizations_url":"https://api.github.com/users/jgangemi/orgs","repos_url":"https://api.github.com/users/jgangemi/repos","events_url":"https://api.github.com/users/jgangemi/events{/privacy}","received_events_url":"https://api.github.com/users/jgangemi/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T19:22:34Z","updated_at":"2015-12-08T19:22:34Z","body":"@rhuss can confirm but i'm pretty sure you can't switch back and forth between users using the xml configuration. if you have a working `Dockerfile`, i suggest using that as the plugin supports those."}}