{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/che/pulls/comments/215255103","pull_request_review_id":152477169,"id":215255103,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTI1NTEwMw==","diff_hunk":"@@ -2,6 +2,12 @@\n set -e\n set -u\n \n+yum install -y sudo","path":"dockerfiles/theia/src/setup.sh","position":null,"original_position":4,"commit_id":"a9ff6b191b7cbddd89abbfc463d7271a4f515eec","original_commit_id":"d82150802628ad9d3aa26f5b65db5049dec10280","user":{"login":"benoitf","id":436777,"node_id":"MDQ6VXNlcjQzNjc3Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/436777?v=4","gravatar_id":"","url":"https://api.github.com/users/benoitf","html_url":"https://github.com/benoitf","followers_url":"https://api.github.com/users/benoitf/followers","following_url":"https://api.github.com/users/benoitf/following{/other_user}","gists_url":"https://api.github.com/users/benoitf/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitf/subscriptions","organizations_url":"https://api.github.com/users/benoitf/orgs","repos_url":"https://api.github.com/users/benoitf/repos","events_url":"https://api.github.com/users/benoitf/events{/privacy}","received_events_url":"https://api.github.com/users/benoitf/received_events","type":"User","site_admin":false},"body":"speed of build (like searching for mirrors again)","created_at":"2018-09-05T12:49:06Z","updated_at":"2018-09-05T12:49:06Z","html_url":"https://github.com/eclipse/che/pull/11076#discussion_r215255103","pull_request_url":"https://api.github.com/repos/eclipse/che/pulls/11076","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments/215255103"},"html":{"href":"https://github.com/eclipse/che/pull/11076#discussion_r215255103"},"pull_request":{"href":"https://api.github.com/repos/eclipse/che/pulls/11076"}},"in_reply_to_id":215249220},"pull_request":{"url":"https://api.github.com/repos/eclipse/che/pulls/11076","id":213274665,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMjc0NjY1","html_url":"https://github.com/eclipse/che/pull/11076","diff_url":"https://github.com/eclipse/che/pull/11076.diff","patch_url":"https://github.com/eclipse/che/pull/11076.patch","issue_url":"https://api.github.com/repos/eclipse/che/issues/11076","number":11076,"state":"open","locked":false,"title":"CHE-10756: Use regular user instead of root in theia image","user":{"login":"mmorhun","id":15607393,"node_id":"MDQ6VXNlcjE1NjA3Mzkz","avatar_url":"https://avatars2.githubusercontent.com/u/15607393?v=4","gravatar_id":"","url":"https://api.github.com/users/mmorhun","html_url":"https://github.com/mmorhun","followers_url":"https://api.github.com/users/mmorhun/followers","following_url":"https://api.github.com/users/mmorhun/following{/other_user}","gists_url":"https://api.github.com/users/mmorhun/gists{/gist_id}","starred_url":"https://api.github.com/users/mmorhun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmorhun/subscriptions","organizations_url":"https://api.github.com/users/mmorhun/orgs","repos_url":"https://api.github.com/users/mmorhun/repos","events_url":"https://api.github.com/users/mmorhun/events{/privacy}","received_events_url":"https://api.github.com/users/mmorhun/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Mykola Morhun <mmorhun@redhat.com>\r\n\r\n### What does this PR do?\r\nBefore we used root in Theia image. It is not good way to go and moreover caused some problems, for example, with `yo` generator.\r\nThis PR adds regular user `theia` and runs Theia IDE on behalf of the user.\r\n\r\n### What issues does this PR fix or reference?\r\nhttps://github.com/eclipse/che/issues/10756\r\n\r\n\r\nTested on docker infrastructure and openshift.io","created_at":"2018-09-05T12:25:24Z","updated_at":"2018-09-05T12:49:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe615ed2892f4b088c73cf68ba4455adceb1b44e","assignee":{"login":"mmorhun","id":15607393,"node_id":"MDQ6VXNlcjE1NjA3Mzkz","avatar_url":"https://avatars2.githubusercontent.com/u/15607393?v=4","gravatar_id":"","url":"https://api.github.com/users/mmorhun","html_url":"https://github.com/mmorhun","followers_url":"https://api.github.com/users/mmorhun/followers","following_url":"https://api.github.com/users/mmorhun/following{/other_user}","gists_url":"https://api.github.com/users/mmorhun/gists{/gist_id}","starred_url":"https://api.github.com/users/mmorhun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmorhun/subscriptions","organizations_url":"https://api.github.com/users/mmorhun/orgs","repos_url":"https://api.github.com/users/mmorhun/repos","events_url":"https://api.github.com/users/mmorhun/events{/privacy}","received_events_url":"https://api.github.com/users/mmorhun/received_events","type":"User","site_admin":false},"assignees":[{"login":"mmorhun","id":15607393,"node_id":"MDQ6VXNlcjE1NjA3Mzkz","avatar_url":"https://avatars2.githubusercontent.com/u/15607393?v=4","gravatar_id":"","url":"https://api.github.com/users/mmorhun","html_url":"https://github.com/mmorhun","followers_url":"https://api.github.com/users/mmorhun/followers","following_url":"https://api.github.com/users/mmorhun/following{/other_user}","gists_url":"https://api.github.com/users/mmorhun/gists{/gist_id}","starred_url":"https://api.github.com/users/mmorhun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmorhun/subscriptions","organizations_url":"https://api.github.com/users/mmorhun/orgs","repos_url":"https://api.github.com/users/mmorhun/repos","events_url":"https://api.github.com/users/mmorhun/events{/privacy}","received_events_url":"https://api.github.com/users/mmorhun/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"riuvshin","id":1636732,"node_id":"MDQ6VXNlcjE2MzY3MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1636732?v=4","gravatar_id":"","url":"https://api.github.com/users/riuvshin","html_url":"https://github.com/riuvshin","followers_url":"https://api.github.com/users/riuvshin/followers","following_url":"https://api.github.com/users/riuvshin/following{/other_user}","gists_url":"https://api.github.com/users/riuvshin/gists{/gist_id}","starred_url":"https://api.github.com/users/riuvshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riuvshin/subscriptions","organizations_url":"https://api.github.com/users/riuvshin/orgs","repos_url":"https://api.github.com/users/riuvshin/repos","events_url":"https://api.github.com/users/riuvshin/events{/privacy}","received_events_url":"https://api.github.com/users/riuvshin/received_events","type":"User","site_admin":false},{"login":"eivantsov","id":5337267,"node_id":"MDQ6VXNlcjUzMzcyNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/5337267?v=4","gravatar_id":"","url":"https://api.github.com/users/eivantsov","html_url":"https://github.com/eivantsov","followers_url":"https://api.github.com/users/eivantsov/followers","following_url":"https://api.github.com/users/eivantsov/following{/other_user}","gists_url":"https://api.github.com/users/eivantsov/gists{/gist_id}","starred_url":"https://api.github.com/users/eivantsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eivantsov/subscriptions","organizations_url":"https://api.github.com/users/eivantsov/orgs","repos_url":"https://api.github.com/users/eivantsov/repos","events_url":"https://api.github.com/users/eivantsov/events{/privacy}","received_events_url":"https://api.github.com/users/eivantsov/received_events","type":"User","site_admin":false},{"login":"AndrienkoAleksandr","id":6873095,"node_id":"MDQ6VXNlcjY4NzMwOTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6873095?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrienkoAleksandr","html_url":"https://github.com/AndrienkoAleksandr","followers_url":"https://api.github.com/users/AndrienkoAleksandr/followers","following_url":"https://api.github.com/users/AndrienkoAleksandr/following{/other_user}","gists_url":"https://api.github.com/users/AndrienkoAleksandr/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrienkoAleksandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrienkoAleksandr/subscriptions","organizations_url":"https://api.github.com/users/AndrienkoAleksandr/orgs","repos_url":"https://api.github.com/users/AndrienkoAleksandr/repos","events_url":"https://api.github.com/users/AndrienkoAleksandr/events{/privacy}","received_events_url":"https://api.github.com/users/AndrienkoAleksandr/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":192367926,"node_id":"MDU6TGFiZWwxOTIzNjc5MjY=","url":"https://api.github.com/repos/eclipse/che/labels/kind/bug","name":"kind/bug","color":"fc2929","default":false},{"id":345100523,"node_id":"MDU6TGFiZWwzNDUxMDA1MjM=","url":"https://api.github.com/repos/eclipse/che/labels/status/code-review","name":"status/code-review","color":"0052cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/che/pulls/11076/commits","review_comments_url":"https://api.github.com/repos/eclipse/che/pulls/11076/comments","review_comment_url":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/che/issues/11076/comments","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/a9ff6b191b7cbddd89abbfc463d7271a4f515eec","head":{"label":"eclipse:CHE-10756","ref":"CHE-10756","sha":"a9ff6b191b7cbddd89abbfc463d7271a4f515eec","user":{"login":"eclipse","id":56974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2OTc0","avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":32935745,"node_id":"MDEwOlJlcG9zaXRvcnkzMjkzNTc0NQ==","name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2OTc0","avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2018-09-05T09:21:10Z","pushed_at":"2018-09-05T12:40:46Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":97887,"stargazers_count":5005,"watchers_count":5005,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":906,"mirror_url":null,"archived":false,"open_issues_count":942,"license":{"key":"epl-2.0","name":"Eclipse Public License 2.0","spdx_id":"EPL-2.0","url":"https://api.github.com/licenses/epl-2.0","node_id":"MDc6TGljZW5zZTMy"},"forks":906,"open_issues":942,"watchers":5005,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"e1aaf44fab386deec520e46e73b7713c90d317ee","user":{"login":"eclipse","id":56974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2OTc0","avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":32935745,"node_id":"MDEwOlJlcG9zaXRvcnkzMjkzNTc0NQ==","name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2OTc0","avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2018-09-05T09:21:10Z","pushed_at":"2018-09-05T12:40:46Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":97887,"stargazers_count":5005,"watchers_count":5005,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":906,"mirror_url":null,"archived":false,"open_issues_count":942,"license":{"key":"epl-2.0","name":"Eclipse Public License 2.0","spdx_id":"EPL-2.0","url":"https://api.github.com/licenses/epl-2.0","node_id":"MDc6TGljZW5zZTMy"},"forks":906,"open_issues":942,"watchers":5005,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/11076"},"html":{"href":"https://github.com/eclipse/che/pull/11076"},"issue":{"href":"https://api.github.com/repos/eclipse/che/issues/11076"},"comments":{"href":"https://api.github.com/repos/eclipse/che/issues/11076/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/che/pulls/11076/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/che/pulls/11076/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/che/statuses/a9ff6b191b7cbddd89abbfc463d7271a4f515eec"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"benoitf"}}