{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/comments/124830986","pull_request_review_id":47159156,"id":124830986,"diff_hunk":"@@ -0,0 +1,48 @@\n+FROM ubuntu:15.04\n+\n+# variables\n+ENV logstash_directory=\"logstash\"\n+ENV logstash_version=\"logstash-5.0.0\"\n+ENV amazon_es_repo=\"https://github.com/awslabs/logstash-output-amazon_es.git\"\n+ENV amazon_es_local=\"$HOME/dev/amazon_es\"\n+ENV jsqs_repo=\"https://github.com/JamieCressey/logstash-input-jsqs\"\n+ENV jsqs_local=\"$HOME/dev/jsqs\"\n+ENV test_directory=\"\"\n+ENV test_file=\"\"\n+\n+RUN apt-get update && \\\n+    apt-get upgrade -y && \\\n+    apt-get install -y  software-properties-common && \\\n+    add-apt-repository ppa:webupd8team/java -y && \\\n+    apt-get update && \\\n+    echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \\\n+    apt-get install -y oracle-java8-installer && \\\n+    apt-get clean\n+RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 curl -sSL https://get.rvm.io | bash -s stable --ruby=jruby-9.1.10.0\n+RUN apt-get -y install oracle-java8-set-default  ruby-full git\n+RUN git clone -b 5.2 https://github.com/elastic/logstash.git\n+WORKDIR /${logstash_directory}\n+\n+RUN gem install rake\n+RUN gem install bundler\n+RUN rake bootstrap\n+RUN rake test:install-core\n+\n+# install prune plugin\n+RUN bin/logstash-plugin install logstash-filter-prune\n+\n+# install kinesis plugin\n+RUN bin/logstash-plugin install logstash-input-kinesis\n+\n+# Install Amazon Elasticsearch logstash plugin\n+RUN git clone \"${amazon_es_repo}\" \"${amazon_es_local}\"\n+RUN bin/logstash-plugin install logstash-output-amazon_es\n+\n+# Install jsqs logstash plugin\n+RUN git clone \"${jsqs_repo}\" \"${jsqs_local}\"\n+RUN bin/logstash-plugin install logstash-input-jsqs\n+\n+# install rspec\n+RUN bin/logstash-plugin install --development\n+\n+CMD [\"/logstash/bin/rspec\", \"/logstash/${test_directory}/${test_file}\"]","path":"Dockerfile","position":48,"original_position":48,"commit_id":"1c0e5e46e6474dc00bd6e78fc51f3a881d566e72","original_commit_id":"1c0e5e46e6474dc00bd6e78fc51f3a881d566e72","user":{"login":"rogba1","id":5085411,"avatar_url":"https://avatars0.githubusercontent.com/u/5085411?v=3","gravatar_id":"","url":"https://api.github.com/users/rogba1","html_url":"https://github.com/rogba1","followers_url":"https://api.github.com/users/rogba1/followers","following_url":"https://api.github.com/users/rogba1/following{/other_user}","gists_url":"https://api.github.com/users/rogba1/gists{/gist_id}","starred_url":"https://api.github.com/users/rogba1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogba1/subscriptions","organizations_url":"https://api.github.com/users/rogba1/orgs","repos_url":"https://api.github.com/users/rogba1/repos","events_url":"https://api.github.com/users/rogba1/events{/privacy}","received_events_url":"https://api.github.com/users/rogba1/received_events","type":"User","site_admin":false},"body":"with regards to your last comment in slack, so should i just modify script to accommodate last line to copy from container to local machine?","created_at":"2017-06-29T15:19:02Z","updated_at":"2017-06-29T15:19:02Z","html_url":"https://github.com/Financial-Times/buildpack-logstash/pull/1#discussion_r124830986","pull_request_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/comments/124830986"},"html":{"href":"https://github.com/Financial-Times/buildpack-logstash/pull/1#discussion_r124830986"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/1","id":127633054,"html_url":"https://github.com/Financial-Times/buildpack-logstash/pull/1","diff_url":"https://github.com/Financial-Times/buildpack-logstash/pull/1.diff","patch_url":"https://github.com/Financial-Times/buildpack-logstash/pull/1.patch","issue_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues/1","number":1,"state":"open","locked":false,"title":"Logstash 5 auto","user":{"login":"rogba1","id":5085411,"avatar_url":"https://avatars0.githubusercontent.com/u/5085411?v=3","gravatar_id":"","url":"https://api.github.com/users/rogba1","html_url":"https://github.com/rogba1","followers_url":"https://api.github.com/users/rogba1/followers","following_url":"https://api.github.com/users/rogba1/following{/other_user}","gists_url":"https://api.github.com/users/rogba1/gists{/gist_id}","starred_url":"https://api.github.com/users/rogba1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogba1/subscriptions","organizations_url":"https://api.github.com/users/rogba1/orgs","repos_url":"https://api.github.com/users/rogba1/repos","events_url":"https://api.github.com/users/rogba1/events{/privacy}","received_events_url":"https://api.github.com/users/rogba1/received_events","type":"User","site_admin":false},"body":"java error has been resolved on image","created_at":"2017-06-27T08:01:41Z","updated_at":"2017-06-29T15:19:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4835221825e8d9d0684ba0ca755790caa7efc882","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues/1/comments","statuses_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/statuses/1c0e5e46e6474dc00bd6e78fc51f3a881d566e72","head":{"label":"Financial-Times:logstash-5_auto","ref":"logstash-5_auto","sha":"1c0e5e46e6474dc00bd6e78fc51f3a881d566e72","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars2.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":41366065,"name":"buildpack-logstash","full_name":"Financial-Times/buildpack-logstash","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars2.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/buildpack-logstash","description":"Buildpack to grab logstash","fork":true,"url":"https://api.github.com/repos/Financial-Times/buildpack-logstash","forks_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/forks","keys_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/teams","hooks_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/events","assignees_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/tags","blobs_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/subscription","commits_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/merges","archive_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/downloads","issues_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/deployments","created_at":"2015-08-25T13:52:08Z","updated_at":"2017-06-29T15:13:56Z","pushed_at":"2017-06-27T10:47:41Z","git_url":"git://github.com/Financial-Times/buildpack-logstash.git","ssh_url":"git@github.com:Financial-Times/buildpack-logstash.git","clone_url":"https://github.com/Financial-Times/buildpack-logstash.git","svn_url":"https://github.com/Financial-Times/buildpack-logstash","homepage":null,"size":17,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"6b0a11acc9e55f5888f9788e2208ccd91e119965","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars2.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":41366065,"name":"buildpack-logstash","full_name":"Financial-Times/buildpack-logstash","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars2.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/buildpack-logstash","description":"Buildpack to grab logstash","fork":true,"url":"https://api.github.com/repos/Financial-Times/buildpack-logstash","forks_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/forks","keys_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/teams","hooks_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/events","assignees_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/tags","blobs_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/subscription","commits_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/merges","archive_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/downloads","issues_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/buildpack-logstash/deployments","created_at":"2015-08-25T13:52:08Z","updated_at":"2017-06-29T15:13:56Z","pushed_at":"2017-06-27T10:47:41Z","git_url":"git://github.com/Financial-Times/buildpack-logstash.git","ssh_url":"git@github.com:Financial-Times/buildpack-logstash.git","clone_url":"https://github.com/Financial-Times/buildpack-logstash.git","svn_url":"https://github.com/Financial-Times/buildpack-logstash","homepage":null,"size":17,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/1"},"html":{"href":"https://github.com/Financial-Times/buildpack-logstash/pull/1"},"issue":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues/1"},"comments":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/buildpack-logstash/statuses/1c0e5e46e6474dc00bd6e78fc51f3a881d566e72"}}}}
{"actor":{"display_login":"rogba1"}}