{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/sti-perl/pulls/comments/27953266","id":27953266,"diff_hunk":"@@ -1 +1,193 @@\n-# sti-perl\n+Perl for OpenShift - Docker images\n+========================================\n+\n+This repository contains sources of the images for building various versions\n+of Perl applications as reproducible Docker images using\n+[source-to-image](https://github.com/openshift/source-to-image).\n+User can choose between RHEL and CentOS based builder images.\n+The resulting image can be run using [Docker](http://docker.io).\n+\n+\n+Versions\n+---------------\n+Perl versions currently provided are:\n+* perl-5.16\n+\n+RHEL versions currently supported are:\n+* RHEL7\n+\n+CentOS versions currently supported are:\n+* CentOS7\n+\n+\n+Installation\n+---------------\n+To build Perl image, choose between CentOS or RHEL based image:\n+*  **RHEL based image**\n+\n+    To build a rhel-based perl-5.16 image, you need to run the build on properly\n+    subscribed RHEL machine.\n+\n+    ```\n+    $ git clone https://github.com/openshift/sti-perl.git\n+    $ cd sti-perl\n+    $ make build TARGET=rhel7 VERSION=5.16\n+    ```\n+\n+*  **CentOS based image**\n+\n+    This image is available on DockerHub. To download it use:\n+\n+    ```\n+    $ docker pull openshift/perl-516-centos7\n+    ```\n+\n+    To build Perl image from scratch use:\n+\n+    ```\n+    $ git clone https://github.com/openshift/sti-perl.git\n+    $ cd sti-perl\n+    $ make build VERSION=5.16\n+    ```\n+\n+**Notice: By omitting the `VERSION` parameter, the build/test action will be performed\n+on all provided versions of Perl. Since we are now providing only version `5.16`,\n+you can omit this parameter.**\n+\n+\n+Usage\n+---------------------\n+To build a simple [perl-sample-app](https://github.com/openshift/sti-perl/tree/master/5.16/test/sample-test-app) application,\n+using standalone [STI](https://github.com/openshift/source-to-image) and then run the\n+resulting image with [Docker](http://docker.io) execute:\n+\n+*  **For RHEL based image**\n+    ```\n+    $ sti build https://github.com/openshift/sti-perl.git --contextDir=5.16/test/sample-test-app/ openshift/perl-516-rhel7 perl-sample-app\n+    $ docker run -p 8080:8080 perl-sample-app\n+    ```\n+\n+*  **For CentOS based image**\n+    ```\n+    $ sti build https://github.com/openshift/sti-perl.git --contextDir=5.16/test/sample-test-app/ openshift/perl-516-centos7 perl-sample-app\n+    $ docker run -p 8080:8080 perl-sample-app\n+    ```\n+\n+**Accessing the application:**\n+```\n+$ curl 127.0.0.1:8080\n+```\n+\n+\n+Test\n+---------------------\n+This repository also provides [STI](https://github.com/openshift/source-to-image) test framework,\n+which launches tests to check functionality of a simple perl application built on top of sti-perl image.\n+\n+User can choose between testing perl test application based on RHEL or CentOS image.\n+\n+*  **RHEL based image**\n+\n+    To test a rhel7-based perl-5.16 image, you need to run the test on properly\n+    subscribed RHEL machine.\n+\n+    ```\n+    $ cd sti-perl\n+    $ make test TARGET=rhel7 VERSION=5.16\n+    ```\n+\n+*  **CentOS based image**\n+\n+    ```\n+    $ cd sti-perl\n+    $ make test VERSION=5.16\n+    ```\n+\n+**Notice: By omitting the `VERSION` parameter, the build/test action will be performed\n+on all the provided versions of Perl. Since we are now providing only version `5.16`\n+you can omit this parameter.**\n+\n+\n+Repository organization\n+------------------------\n+* **`<perl-version>`**\n+\n+    * **Dockerfile**\n+\n+        CentOS based Dockerfile.\n+\n+    * **Dockerfile.rhel7**\n+\n+        RHEL based Dockerfile. In order to perform build or test actions on this\n+        Dockerfile you need to run the action on properly subscribed RHEL machine.","path":"README.md","position":123,"original_position":123,"commit_id":"150b5cc5aa3fd23126a91ef1bed4abd125c316ee","original_commit_id":"150b5cc5aa3fd23126a91ef1bed4abd125c316ee","user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"body":"on **a** properly","created_at":"2015-04-08T09:01:57Z","updated_at":"2015-04-08T09:01:57Z","html_url":"https://github.com/openshift/sti-perl/pull/1#discussion_r27953266","pull_request_url":"https://api.github.com/repos/openshift/sti-perl/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/openshift/sti-perl/pulls/comments/27953266"},"html":{"href":"https://github.com/openshift/sti-perl/pull/1#discussion_r27953266"},"pull_request":{"href":"https://api.github.com/repos/openshift/sti-perl/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/sti-perl/pulls/1","id":32775235,"html_url":"https://github.com/openshift/sti-perl/pull/1","diff_url":"https://github.com/openshift/sti-perl/pull/1.diff","patch_url":"https://github.com/openshift/sti-perl/pull/1.patch","issue_url":"https://api.github.com/repos/openshift/sti-perl/issues/1","number":1,"state":"open","locked":false,"title":"Initial PR to create Perl image ","user":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-07T15:28:49Z","updated_at":"2015-04-08T09:01:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f208f36ad3a5ebb236b97a43ac5f82212436863f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/sti-perl/pulls/1/commits","review_comments_url":"https://api.github.com/repos/openshift/sti-perl/pulls/1/comments","review_comment_url":"https://api.github.com/repos/openshift/sti-perl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/sti-perl/issues/1/comments","statuses_url":"https://api.github.com/repos/openshift/sti-perl/statuses/150b5cc5aa3fd23126a91ef1bed4abd125c316ee","head":{"label":"jhadvig:first_pr","ref":"first_pr","sha":"150b5cc5aa3fd23126a91ef1bed4abd125c316ee","user":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"repo":{"id":32879999,"name":"sti-perl","full_name":"jhadvig/sti-perl","owner":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhadvig/sti-perl","description":"","fork":true,"url":"https://api.github.com/repos/jhadvig/sti-perl","forks_url":"https://api.github.com/repos/jhadvig/sti-perl/forks","keys_url":"https://api.github.com/repos/jhadvig/sti-perl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhadvig/sti-perl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhadvig/sti-perl/teams","hooks_url":"https://api.github.com/repos/jhadvig/sti-perl/hooks","issue_events_url":"https://api.github.com/repos/jhadvig/sti-perl/issues/events{/number}","events_url":"https://api.github.com/repos/jhadvig/sti-perl/events","assignees_url":"https://api.github.com/repos/jhadvig/sti-perl/assignees{/user}","branches_url":"https://api.github.com/repos/jhadvig/sti-perl/branches{/branch}","tags_url":"https://api.github.com/repos/jhadvig/sti-perl/tags","blobs_url":"https://api.github.com/repos/jhadvig/sti-perl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhadvig/sti-perl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhadvig/sti-perl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhadvig/sti-perl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhadvig/sti-perl/statuses/{sha}","languages_url":"https://api.github.com/repos/jhadvig/sti-perl/languages","stargazers_url":"https://api.github.com/repos/jhadvig/sti-perl/stargazers","contributors_url":"https://api.github.com/repos/jhadvig/sti-perl/contributors","subscribers_url":"https://api.github.com/repos/jhadvig/sti-perl/subscribers","subscription_url":"https://api.github.com/repos/jhadvig/sti-perl/subscription","commits_url":"https://api.github.com/repos/jhadvig/sti-perl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhadvig/sti-perl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhadvig/sti-perl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhadvig/sti-perl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhadvig/sti-perl/contents/{+path}","compare_url":"https://api.github.com/repos/jhadvig/sti-perl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhadvig/sti-perl/merges","archive_url":"https://api.github.com/repos/jhadvig/sti-perl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhadvig/sti-perl/downloads","issues_url":"https://api.github.com/repos/jhadvig/sti-perl/issues{/number}","pulls_url":"https://api.github.com/repos/jhadvig/sti-perl/pulls{/number}","milestones_url":"https://api.github.com/repos/jhadvig/sti-perl/milestones{/number}","notifications_url":"https://api.github.com/repos/jhadvig/sti-perl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhadvig/sti-perl/labels{/name}","releases_url":"https://api.github.com/repos/jhadvig/sti-perl/releases{/id}","created_at":"2015-03-25T17:27:09Z","updated_at":"2015-03-23T14:32:46Z","pushed_at":"2015-04-07T15:25:16Z","git_url":"git://github.com/jhadvig/sti-perl.git","ssh_url":"git@github.com:jhadvig/sti-perl.git","clone_url":"https://github.com/jhadvig/sti-perl.git","svn_url":"https://github.com/jhadvig/sti-perl","homepage":null,"size":138,"stargazers_count":0,"watchers_count":0,"language":null,"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":"e340a847ea4c17b86da5e52c3aacb36f27c9c1ee","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":32732062,"name":"sti-perl","full_name":"openshift/sti-perl","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-perl","description":"","fork":false,"url":"https://api.github.com/repos/openshift/sti-perl","forks_url":"https://api.github.com/repos/openshift/sti-perl/forks","keys_url":"https://api.github.com/repos/openshift/sti-perl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/sti-perl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/sti-perl/teams","hooks_url":"https://api.github.com/repos/openshift/sti-perl/hooks","issue_events_url":"https://api.github.com/repos/openshift/sti-perl/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/sti-perl/events","assignees_url":"https://api.github.com/repos/openshift/sti-perl/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/sti-perl/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/sti-perl/tags","blobs_url":"https://api.github.com/repos/openshift/sti-perl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/sti-perl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/sti-perl/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/sti-perl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/sti-perl/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/sti-perl/languages","stargazers_url":"https://api.github.com/repos/openshift/sti-perl/stargazers","contributors_url":"https://api.github.com/repos/openshift/sti-perl/contributors","subscribers_url":"https://api.github.com/repos/openshift/sti-perl/subscribers","subscription_url":"https://api.github.com/repos/openshift/sti-perl/subscription","commits_url":"https://api.github.com/repos/openshift/sti-perl/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/sti-perl/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/sti-perl/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/sti-perl/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/sti-perl/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/sti-perl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/sti-perl/merges","archive_url":"https://api.github.com/repos/openshift/sti-perl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/sti-perl/downloads","issues_url":"https://api.github.com/repos/openshift/sti-perl/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/sti-perl/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/sti-perl/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/sti-perl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/sti-perl/labels{/name}","releases_url":"https://api.github.com/repos/openshift/sti-perl/releases{/id}","created_at":"2015-03-23T12:53:15Z","updated_at":"2015-03-23T14:32:46Z","pushed_at":"2015-04-07T15:28:49Z","git_url":"git://github.com/openshift/sti-perl.git","ssh_url":"git@github.com:openshift/sti-perl.git","clone_url":"https://github.com/openshift/sti-perl.git","svn_url":"https://github.com/openshift/sti-perl","homepage":null,"size":96,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/sti-perl/pulls/1"},"html":{"href":"https://github.com/openshift/sti-perl/pull/1"},"issue":{"href":"https://api.github.com/repos/openshift/sti-perl/issues/1"},"comments":{"href":"https://api.github.com/repos/openshift/sti-perl/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/sti-perl/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/sti-perl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/sti-perl/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/sti-perl/statuses/150b5cc5aa3fd23126a91ef1bed4abd125c316ee"}}}}