{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/20","id":39090296,"html_url":"https://github.com/jboss-dockerfiles/keycloak/pull/20","diff_url":"https://github.com/jboss-dockerfiles/keycloak/pull/20.diff","patch_url":"https://github.com/jboss-dockerfiles/keycloak/pull/20.patch","issue_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/20","number":20,"state":"closed","locked":false,"title":"Add support for CentOS 7 base image","user":{"login":"foo4u","id":746764,"avatar_url":"https://avatars.githubusercontent.com/u/746764?v=3","gravatar_id":"","url":"https://api.github.com/users/foo4u","html_url":"https://github.com/foo4u","followers_url":"https://api.github.com/users/foo4u/followers","following_url":"https://api.github.com/users/foo4u/following{/other_user}","gists_url":"https://api.github.com/users/foo4u/gists{/gist_id}","starred_url":"https://api.github.com/users/foo4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foo4u/subscriptions","organizations_url":"https://api.github.com/users/foo4u/orgs","repos_url":"https://api.github.com/users/foo4u/repos","events_url":"https://api.github.com/users/foo4u/events{/privacy}","received_events_url":"https://api.github.com/users/foo4u/received_events","type":"User","site_admin":false},"body":"jboss/base uses CentOS 7 as of Jul 1, 2015. Fix keycloak image to support CentOS 7.\r\n\r\nCurrently, docker build fails because it cannot find the jq package. This pull request fixes by adding `epel-release` before installing `jq`.\r\n\r\n```\r\n$ docker build --no-cache server\r\nSending build context to Docker daemon 5.632 kB\r\nSending build context to Docker daemon \r\nStep 0 : FROM jboss/base-jdk:7\r\n ---> 6adb355a1864\r\nStep 1 : ENV KEYCLOAK_VERSION 1.2.0.Final\r\n ---> Running in 2b468477bb51\r\n ---> e536d3fea6bf\r\nRemoving intermediate container 2b468477bb51\r\nStep 2 : USER root\r\n ---> Running in 0c8f5acd67fa\r\n ---> abfd759fd030\r\nRemoving intermediate container 0c8f5acd67fa\r\nStep 3 : RUN yum install -y jq && yum clean all\r\n ---> Running in d13413232015\r\nLoaded plugins: fastestmirror\r\nDetermining fastest mirrors\r\n * base: mirror.atlanticmetro.net\r\n * extras: mirrors.rit.edu\r\n * updates: mirror.atlanticmetro.net\r\nNo package jq available.\r\nError: Nothing to do\r\nThe command '/bin/sh -c yum install -y jq && yum clean all' returned a non-zero code: 1\r\n```","created_at":"2015-07-02T14:47:13Z","updated_at":"2015-07-09T08:17:44Z","closed_at":"2015-07-09T08:17:44Z","merged_at":"2015-07-09T08:17:44Z","merge_commit_sha":"64e99be868292539858981fe7d609740ed1bda9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/20/commits","review_comments_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/20/comments","review_comment_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/20/comments","statuses_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/statuses/346b2a07f8c7dec14e387df0255d867034e13a87","head":{"label":"foo4u:patch1","ref":"patch1","sha":"346b2a07f8c7dec14e387df0255d867034e13a87","user":{"login":"foo4u","id":746764,"avatar_url":"https://avatars.githubusercontent.com/u/746764?v=3","gravatar_id":"","url":"https://api.github.com/users/foo4u","html_url":"https://github.com/foo4u","followers_url":"https://api.github.com/users/foo4u/followers","following_url":"https://api.github.com/users/foo4u/following{/other_user}","gists_url":"https://api.github.com/users/foo4u/gists{/gist_id}","starred_url":"https://api.github.com/users/foo4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foo4u/subscriptions","organizations_url":"https://api.github.com/users/foo4u/orgs","repos_url":"https://api.github.com/users/foo4u/repos","events_url":"https://api.github.com/users/foo4u/events{/privacy}","received_events_url":"https://api.github.com/users/foo4u/received_events","type":"User","site_admin":false},"repo":{"id":38436818,"name":"keycloak","full_name":"foo4u/keycloak","owner":{"login":"foo4u","id":746764,"avatar_url":"https://avatars.githubusercontent.com/u/746764?v=3","gravatar_id":"","url":"https://api.github.com/users/foo4u","html_url":"https://github.com/foo4u","followers_url":"https://api.github.com/users/foo4u/followers","following_url":"https://api.github.com/users/foo4u/following{/other_user}","gists_url":"https://api.github.com/users/foo4u/gists{/gist_id}","starred_url":"https://api.github.com/users/foo4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foo4u/subscriptions","organizations_url":"https://api.github.com/users/foo4u/orgs","repos_url":"https://api.github.com/users/foo4u/repos","events_url":"https://api.github.com/users/foo4u/events{/privacy}","received_events_url":"https://api.github.com/users/foo4u/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/foo4u/keycloak","description":"Docker image for Keycloak project","fork":true,"url":"https://api.github.com/repos/foo4u/keycloak","forks_url":"https://api.github.com/repos/foo4u/keycloak/forks","keys_url":"https://api.github.com/repos/foo4u/keycloak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foo4u/keycloak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foo4u/keycloak/teams","hooks_url":"https://api.github.com/repos/foo4u/keycloak/hooks","issue_events_url":"https://api.github.com/repos/foo4u/keycloak/issues/events{/number}","events_url":"https://api.github.com/repos/foo4u/keycloak/events","assignees_url":"https://api.github.com/repos/foo4u/keycloak/assignees{/user}","branches_url":"https://api.github.com/repos/foo4u/keycloak/branches{/branch}","tags_url":"https://api.github.com/repos/foo4u/keycloak/tags","blobs_url":"https://api.github.com/repos/foo4u/keycloak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foo4u/keycloak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foo4u/keycloak/git/refs{/sha}","trees_url":"https://api.github.com/repos/foo4u/keycloak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foo4u/keycloak/statuses/{sha}","languages_url":"https://api.github.com/repos/foo4u/keycloak/languages","stargazers_url":"https://api.github.com/repos/foo4u/keycloak/stargazers","contributors_url":"https://api.github.com/repos/foo4u/keycloak/contributors","subscribers_url":"https://api.github.com/repos/foo4u/keycloak/subscribers","subscription_url":"https://api.github.com/repos/foo4u/keycloak/subscription","commits_url":"https://api.github.com/repos/foo4u/keycloak/commits{/sha}","git_commits_url":"https://api.github.com/repos/foo4u/keycloak/git/commits{/sha}","comments_url":"https://api.github.com/repos/foo4u/keycloak/comments{/number}","issue_comment_url":"https://api.github.com/repos/foo4u/keycloak/issues/comments{/number}","contents_url":"https://api.github.com/repos/foo4u/keycloak/contents/{+path}","compare_url":"https://api.github.com/repos/foo4u/keycloak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foo4u/keycloak/merges","archive_url":"https://api.github.com/repos/foo4u/keycloak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foo4u/keycloak/downloads","issues_url":"https://api.github.com/repos/foo4u/keycloak/issues{/number}","pulls_url":"https://api.github.com/repos/foo4u/keycloak/pulls{/number}","milestones_url":"https://api.github.com/repos/foo4u/keycloak/milestones{/number}","notifications_url":"https://api.github.com/repos/foo4u/keycloak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foo4u/keycloak/labels{/name}","releases_url":"https://api.github.com/repos/foo4u/keycloak/releases{/id}","created_at":"2015-07-02T14:17:07Z","updated_at":"2015-07-02T14:17:07Z","pushed_at":"2015-07-02T14:38:22Z","git_url":"git://github.com/foo4u/keycloak.git","ssh_url":"git@github.com:foo4u/keycloak.git","clone_url":"https://github.com/foo4u/keycloak.git","svn_url":"https://github.com/foo4u/keycloak","homepage":null,"size":792,"stargazers_count":0,"watchers_count":0,"language":"XSLT","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"jboss-dockerfiles:master","ref":"master","sha":"29670c5c7ff240cd199db06a299812554345d3c7","user":{"login":"jboss-dockerfiles","id":7708097,"avatar_url":"https://avatars.githubusercontent.com/u/7708097?v=3","gravatar_id":"","url":"https://api.github.com/users/jboss-dockerfiles","html_url":"https://github.com/jboss-dockerfiles","followers_url":"https://api.github.com/users/jboss-dockerfiles/followers","following_url":"https://api.github.com/users/jboss-dockerfiles/following{/other_user}","gists_url":"https://api.github.com/users/jboss-dockerfiles/gists{/gist_id}","starred_url":"https://api.github.com/users/jboss-dockerfiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboss-dockerfiles/subscriptions","organizations_url":"https://api.github.com/users/jboss-dockerfiles/orgs","repos_url":"https://api.github.com/users/jboss-dockerfiles/repos","events_url":"https://api.github.com/users/jboss-dockerfiles/events{/privacy}","received_events_url":"https://api.github.com/users/jboss-dockerfiles/received_events","type":"Organization","site_admin":false},"repo":{"id":25253305,"name":"keycloak","full_name":"jboss-dockerfiles/keycloak","owner":{"login":"jboss-dockerfiles","id":7708097,"avatar_url":"https://avatars.githubusercontent.com/u/7708097?v=3","gravatar_id":"","url":"https://api.github.com/users/jboss-dockerfiles","html_url":"https://github.com/jboss-dockerfiles","followers_url":"https://api.github.com/users/jboss-dockerfiles/followers","following_url":"https://api.github.com/users/jboss-dockerfiles/following{/other_user}","gists_url":"https://api.github.com/users/jboss-dockerfiles/gists{/gist_id}","starred_url":"https://api.github.com/users/jboss-dockerfiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboss-dockerfiles/subscriptions","organizations_url":"https://api.github.com/users/jboss-dockerfiles/orgs","repos_url":"https://api.github.com/users/jboss-dockerfiles/repos","events_url":"https://api.github.com/users/jboss-dockerfiles/events{/privacy}","received_events_url":"https://api.github.com/users/jboss-dockerfiles/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jboss-dockerfiles/keycloak","description":"Docker image for Keycloak project","fork":false,"url":"https://api.github.com/repos/jboss-dockerfiles/keycloak","forks_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/forks","keys_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/teams","hooks_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/hooks","issue_events_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/events{/number}","events_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/events","assignees_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/assignees{/user}","branches_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/branches{/branch}","tags_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/tags","blobs_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/git/refs{/sha}","trees_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/statuses/{sha}","languages_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/languages","stargazers_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/stargazers","contributors_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/contributors","subscribers_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/subscribers","subscription_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/subscription","commits_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/commits{/sha}","git_commits_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/git/commits{/sha}","comments_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/comments{/number}","issue_comment_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/comments{/number}","contents_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/contents/{+path}","compare_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/merges","archive_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/downloads","issues_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues{/number}","pulls_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls{/number}","milestones_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/milestones{/number}","notifications_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/labels{/name}","releases_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/releases{/id}","created_at":"2014-10-15T12:20:12Z","updated_at":"2015-07-08T16:20:53Z","pushed_at":"2015-07-09T08:17:44Z","git_url":"git://github.com/jboss-dockerfiles/keycloak.git","ssh_url":"git@github.com:jboss-dockerfiles/keycloak.git","clone_url":"https://github.com/jboss-dockerfiles/keycloak.git","svn_url":"https://github.com/jboss-dockerfiles/keycloak","homepage":null,"size":1139,"stargazers_count":4,"watchers_count":4,"language":"XSLT","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":4,"forks":15,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/20"},"html":{"href":"https://github.com/jboss-dockerfiles/keycloak/pull/20"},"issue":{"href":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/20"},"comments":{"href":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/jboss-dockerfiles/keycloak/statuses/346b2a07f8c7dec14e387df0255d867034e13a87"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"goldmann","id":43489,"avatar_url":"https://avatars.githubusercontent.com/u/43489?v=3","gravatar_id":"","url":"https://api.github.com/users/goldmann","html_url":"https://github.com/goldmann","followers_url":"https://api.github.com/users/goldmann/followers","following_url":"https://api.github.com/users/goldmann/following{/other_user}","gists_url":"https://api.github.com/users/goldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/goldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldmann/subscriptions","organizations_url":"https://api.github.com/users/goldmann/orgs","repos_url":"https://api.github.com/users/goldmann/repos","events_url":"https://api.github.com/users/goldmann/events{/privacy}","received_events_url":"https://api.github.com/users/goldmann/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}