{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/sti-python/pulls/comments/35969577","id":35969577,"diff_hunk":"@@ -29,16 +35,10 @@ COPY ./.sti/bin/ /usr/local/sti\n # run and build the applications.\n COPY ./contrib/ /opt/app-root\n \n-RUN yum-config-manager --enable rhel-server-rhscl-7-rpms \\\n-    yum-config-manager --enable rhel-7-server-optional-rpms && \\\n-    yum install -y --setopt=tsflags=nodocs python33 python33-python-devel python33-python-setuptools && \\\n-    curl -O https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm && \\\n-    rpm -Uvh epel-release-7-5.noarch.rpm && rm epel-release-7-5.noarch.rpm && \\\n-    yum install -y --disablerepo=epel --setopt=tsflags=nodocs nss_wrapper && \\\n-    yum clean all -y && \\\n-    yum install -y python33-python-pip && \\\n-    chown -R default:default /opt/app-root && \\\n-    chmod -R og+rwx /opt/app-root\n+# In order to drop the root user, we have to make some directories world\n+# writeable as OpenShift default security model is to run the container under\n+# random UID.\n+RUN chown -R 1001:1001 /opt/app-root","path":"3.3/Dockerfile.rhel7","position":45,"original_position":45,"commit_id":"b763451123664cef506f9294e6c6c347a58ae28c","original_commit_id":"b763451123664cef506f9294e6c6c347a58ae28c","user":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"body":"shouldn't this be a chmod og+rw?\r\n","created_at":"2015-07-31T12:42:37Z","updated_at":"2015-07-31T12:42:37Z","html_url":"https://github.com/openshift/sti-python/pull/43#discussion_r35969577","pull_request_url":"https://api.github.com/repos/openshift/sti-python/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/openshift/sti-python/pulls/comments/35969577"},"html":{"href":"https://github.com/openshift/sti-python/pull/43#discussion_r35969577"},"pull_request":{"href":"https://api.github.com/repos/openshift/sti-python/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/sti-python/pulls/43","id":38854152,"html_url":"https://github.com/openshift/sti-python/pull/43","diff_url":"https://github.com/openshift/sti-python/pull/43.diff","patch_url":"https://github.com/openshift/sti-python/pull/43.patch","issue_url":"https://api.github.com/repos/openshift/sti-python/issues/43","number":43,"state":"open","locked":false,"title":"Fix labels and remove EPEL from rhel7 image","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-30T08:39:45Z","updated_at":"2015-07-31T12:42:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab3a424a12b28ed60744b4ce43c6fe9bc3b9f7f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/sti-python/pulls/43/commits","review_comments_url":"https://api.github.com/repos/openshift/sti-python/pulls/43/comments","review_comment_url":"https://api.github.com/repos/openshift/sti-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/sti-python/issues/43/comments","statuses_url":"https://api.github.com/repos/openshift/sti-python/statuses/b763451123664cef506f9294e6c6c347a58ae28c","head":{"label":"mfojtik:fix-labels","ref":"fix-labels","sha":"b763451123664cef506f9294e6c6c347a58ae28c","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"repo":{"id":33530785,"name":"sti-python","full_name":"mfojtik/sti-python","owner":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfojtik/sti-python","description":"","fork":true,"url":"https://api.github.com/repos/mfojtik/sti-python","forks_url":"https://api.github.com/repos/mfojtik/sti-python/forks","keys_url":"https://api.github.com/repos/mfojtik/sti-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfojtik/sti-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfojtik/sti-python/teams","hooks_url":"https://api.github.com/repos/mfojtik/sti-python/hooks","issue_events_url":"https://api.github.com/repos/mfojtik/sti-python/issues/events{/number}","events_url":"https://api.github.com/repos/mfojtik/sti-python/events","assignees_url":"https://api.github.com/repos/mfojtik/sti-python/assignees{/user}","branches_url":"https://api.github.com/repos/mfojtik/sti-python/branches{/branch}","tags_url":"https://api.github.com/repos/mfojtik/sti-python/tags","blobs_url":"https://api.github.com/repos/mfojtik/sti-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfojtik/sti-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfojtik/sti-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfojtik/sti-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfojtik/sti-python/statuses/{sha}","languages_url":"https://api.github.com/repos/mfojtik/sti-python/languages","stargazers_url":"https://api.github.com/repos/mfojtik/sti-python/stargazers","contributors_url":"https://api.github.com/repos/mfojtik/sti-python/contributors","subscribers_url":"https://api.github.com/repos/mfojtik/sti-python/subscribers","subscription_url":"https://api.github.com/repos/mfojtik/sti-python/subscription","commits_url":"https://api.github.com/repos/mfojtik/sti-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfojtik/sti-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfojtik/sti-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfojtik/sti-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfojtik/sti-python/contents/{+path}","compare_url":"https://api.github.com/repos/mfojtik/sti-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfojtik/sti-python/merges","archive_url":"https://api.github.com/repos/mfojtik/sti-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfojtik/sti-python/downloads","issues_url":"https://api.github.com/repos/mfojtik/sti-python/issues{/number}","pulls_url":"https://api.github.com/repos/mfojtik/sti-python/pulls{/number}","milestones_url":"https://api.github.com/repos/mfojtik/sti-python/milestones{/number}","notifications_url":"https://api.github.com/repos/mfojtik/sti-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfojtik/sti-python/labels{/name}","releases_url":"https://api.github.com/repos/mfojtik/sti-python/releases{/id}","created_at":"2015-04-07T08:17:36Z","updated_at":"2015-05-11T07:49:57Z","pushed_at":"2015-07-31T12:05:47Z","git_url":"git://github.com/mfojtik/sti-python.git","ssh_url":"git@github.com:mfojtik/sti-python.git","clone_url":"https://github.com/mfojtik/sti-python.git","svn_url":"https://github.com/mfojtik/sti-python","homepage":null,"size":239,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openshift:master","ref":"master","sha":"0dc234e13533e22fee369dfcdcb360ab64329c5f","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":32732089,"name":"sti-python","full_name":"openshift/sti-python","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/sti-python","description":"","fork":false,"url":"https://api.github.com/repos/openshift/sti-python","forks_url":"https://api.github.com/repos/openshift/sti-python/forks","keys_url":"https://api.github.com/repos/openshift/sti-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/sti-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/sti-python/teams","hooks_url":"https://api.github.com/repos/openshift/sti-python/hooks","issue_events_url":"https://api.github.com/repos/openshift/sti-python/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/sti-python/events","assignees_url":"https://api.github.com/repos/openshift/sti-python/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/sti-python/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/sti-python/tags","blobs_url":"https://api.github.com/repos/openshift/sti-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/sti-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/sti-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/sti-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/sti-python/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/sti-python/languages","stargazers_url":"https://api.github.com/repos/openshift/sti-python/stargazers","contributors_url":"https://api.github.com/repos/openshift/sti-python/contributors","subscribers_url":"https://api.github.com/repos/openshift/sti-python/subscribers","subscription_url":"https://api.github.com/repos/openshift/sti-python/subscription","commits_url":"https://api.github.com/repos/openshift/sti-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/sti-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/sti-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/sti-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/sti-python/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/sti-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/sti-python/merges","archive_url":"https://api.github.com/repos/openshift/sti-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/sti-python/downloads","issues_url":"https://api.github.com/repos/openshift/sti-python/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/sti-python/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/sti-python/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/sti-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/sti-python/labels{/name}","releases_url":"https://api.github.com/repos/openshift/sti-python/releases{/id}","created_at":"2015-03-23T12:53:52Z","updated_at":"2015-05-07T19:47:07Z","pushed_at":"2015-07-31T11:13:05Z","git_url":"git://github.com/openshift/sti-python.git","ssh_url":"git@github.com:openshift/sti-python.git","clone_url":"https://github.com/openshift/sti-python.git","svn_url":"https://github.com/openshift/sti-python","homepage":null,"size":512,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":2,"forks":14,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/sti-python/pulls/43"},"html":{"href":"https://github.com/openshift/sti-python/pull/43"},"issue":{"href":"https://api.github.com/repos/openshift/sti-python/issues/43"},"comments":{"href":"https://api.github.com/repos/openshift/sti-python/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/sti-python/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/sti-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/sti-python/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/sti-python/statuses/b763451123664cef506f9294e6c6c347a58ae28c"}}}}