{"action":"created","comment":{"url":"https://api.github.com/repos/azavea/docker-spark/pulls/comments/75307802","id":75307802,"diff_hunk":"@@ -1,12 +1,17 @@\n-FROM quay.io/azavea/scala:2.10.6\n+FROM openjdk:7-jre","path":"Dockerfile","position":2,"original_position":2,"commit_id":"c53680c740f5e2ac51003e75a30141a2e36112ce","original_commit_id":"c53680c740f5e2ac51003e75a30141a2e36112ce","user":{"login":"hectcastro","id":43639,"avatar_url":"https://avatars.githubusercontent.com/u/43639?v=3","gravatar_id":"","url":"https://api.github.com/users/hectcastro","html_url":"https://github.com/hectcastro","followers_url":"https://api.github.com/users/hectcastro/followers","following_url":"https://api.github.com/users/hectcastro/following{/other_user}","gists_url":"https://api.github.com/users/hectcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hectcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectcastro/subscriptions","organizations_url":"https://api.github.com/users/hectcastro/orgs","repos_url":"https://api.github.com/users/hectcastro/repos","events_url":"https://api.github.com/users/hectcastro/events{/privacy}","received_events_url":"https://api.github.com/users/hectcastro/received_events","type":"User","site_admin":false},"body":"I started down the that path initially, but a bunch of stuff in the scripts that help manage Spark began to break down.\r\n\r\nAs far as Java 8 goes, my thinking was that we'd use that when we go from 1.6.x -> 2.x. Do you know if Java 8 is officially supported with Spark 1.6.x?","created_at":"2016-08-18T13:32:34Z","updated_at":"2016-08-18T13:32:34Z","html_url":"https://github.com/azavea/docker-spark/pull/10#discussion_r75307802","pull_request_url":"https://api.github.com/repos/azavea/docker-spark/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/azavea/docker-spark/pulls/comments/75307802"},"html":{"href":"https://github.com/azavea/docker-spark/pull/10#discussion_r75307802"},"pull_request":{"href":"https://api.github.com/repos/azavea/docker-spark/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/azavea/docker-spark/pulls/10","id":81684549,"html_url":"https://github.com/azavea/docker-spark/pull/10","diff_url":"https://github.com/azavea/docker-spark/pull/10.diff","patch_url":"https://github.com/azavea/docker-spark/pull/10.patch","issue_url":"https://api.github.com/repos/azavea/docker-spark/issues/10","number":10,"state":"open","locked":false,"title":"Update to Spark 1.6.2; add Spark user and workdir","user":{"login":"hectcastro","id":43639,"avatar_url":"https://avatars.githubusercontent.com/u/43639?v=3","gravatar_id":"","url":"https://api.github.com/users/hectcastro","html_url":"https://github.com/hectcastro","followers_url":"https://api.github.com/users/hectcastro/followers","following_url":"https://api.github.com/users/hectcastro/following{/other_user}","gists_url":"https://api.github.com/users/hectcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hectcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectcastro/subscriptions","organizations_url":"https://api.github.com/users/hectcastro/orgs","repos_url":"https://api.github.com/users/hectcastro/repos","events_url":"https://api.github.com/users/hectcastro/events{/privacy}","received_events_url":"https://api.github.com/users/hectcastro/received_events","type":"User","site_admin":false},"body":"Bump version of Spark to 1.6.2 and ensure that a user, group, and work directory is created for Spark. Also, consolidate all instructions related to building, testing, and publishing the container image into the Travis CI configuration file.\r\n\r\nThrough the process of containerizing Spark for Raster Foundry, it became apparent that Scala does not have to be available for Spark to work, so now the base image is based off of `openjdk` (`openjdk` is replacing `java`, as `java` is now marked as deprecated).\r\n\r\n**Before**\r\n\r\n```bash\r\n$ docker images | grep spark                   \r\nquay.io/azavea/spark                                                        latest              225a3333de21        56 seconds ago      779.2 MB\r\n```\r\n\r\n**After**\r\n\r\n```bash\r\n$ docker images | grep spark\r\nquay.io/azavea/spark                                                        latest              d444cda55cba        4 minutes ago       648.3 MB\r\n```\r\n\r\n---\r\n\r\n**Testing**\r\n\r\nExecute the steps under the **Usage** section in the README and ensure that they line up.","created_at":"2016-08-17T17:36:29Z","updated_at":"2016-08-18T13:32:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f61eeba1caaea09e0b56d8f1d59058f36db590af","assignee":{"login":"notthatbreezy","id":898060,"avatar_url":"https://avatars.githubusercontent.com/u/898060?v=3","gravatar_id":"","url":"https://api.github.com/users/notthatbreezy","html_url":"https://github.com/notthatbreezy","followers_url":"https://api.github.com/users/notthatbreezy/followers","following_url":"https://api.github.com/users/notthatbreezy/following{/other_user}","gists_url":"https://api.github.com/users/notthatbreezy/gists{/gist_id}","starred_url":"https://api.github.com/users/notthatbreezy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notthatbreezy/subscriptions","organizations_url":"https://api.github.com/users/notthatbreezy/orgs","repos_url":"https://api.github.com/users/notthatbreezy/repos","events_url":"https://api.github.com/users/notthatbreezy/events{/privacy}","received_events_url":"https://api.github.com/users/notthatbreezy/received_events","type":"User","site_admin":false},"assignees":[{"login":"notthatbreezy","id":898060,"avatar_url":"https://avatars.githubusercontent.com/u/898060?v=3","gravatar_id":"","url":"https://api.github.com/users/notthatbreezy","html_url":"https://github.com/notthatbreezy","followers_url":"https://api.github.com/users/notthatbreezy/followers","following_url":"https://api.github.com/users/notthatbreezy/following{/other_user}","gists_url":"https://api.github.com/users/notthatbreezy/gists{/gist_id}","starred_url":"https://api.github.com/users/notthatbreezy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notthatbreezy/subscriptions","organizations_url":"https://api.github.com/users/notthatbreezy/orgs","repos_url":"https://api.github.com/users/notthatbreezy/repos","events_url":"https://api.github.com/users/notthatbreezy/events{/privacy}","received_events_url":"https://api.github.com/users/notthatbreezy/received_events","type":"User","site_admin":false},{"login":"tnation14","id":2507188,"avatar_url":"https://avatars.githubusercontent.com/u/2507188?v=3","gravatar_id":"","url":"https://api.github.com/users/tnation14","html_url":"https://github.com/tnation14","followers_url":"https://api.github.com/users/tnation14/followers","following_url":"https://api.github.com/users/tnation14/following{/other_user}","gists_url":"https://api.github.com/users/tnation14/gists{/gist_id}","starred_url":"https://api.github.com/users/tnation14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnation14/subscriptions","organizations_url":"https://api.github.com/users/tnation14/orgs","repos_url":"https://api.github.com/users/tnation14/repos","events_url":"https://api.github.com/users/tnation14/events{/privacy}","received_events_url":"https://api.github.com/users/tnation14/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/azavea/docker-spark/pulls/10/commits","review_comments_url":"https://api.github.com/repos/azavea/docker-spark/pulls/10/comments","review_comment_url":"https://api.github.com/repos/azavea/docker-spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azavea/docker-spark/issues/10/comments","statuses_url":"https://api.github.com/repos/azavea/docker-spark/statuses/c53680c740f5e2ac51003e75a30141a2e36112ce","head":{"label":"azavea:feature/hmc/spark-1.6.2","ref":"feature/hmc/spark-1.6.2","sha":"c53680c740f5e2ac51003e75a30141a2e36112ce","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":39902734,"name":"docker-spark","full_name":"azavea/docker-spark","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/docker-spark","description":"Base Docker image for Spark.","fork":false,"url":"https://api.github.com/repos/azavea/docker-spark","forks_url":"https://api.github.com/repos/azavea/docker-spark/forks","keys_url":"https://api.github.com/repos/azavea/docker-spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/docker-spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/docker-spark/teams","hooks_url":"https://api.github.com/repos/azavea/docker-spark/hooks","issue_events_url":"https://api.github.com/repos/azavea/docker-spark/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/docker-spark/events","assignees_url":"https://api.github.com/repos/azavea/docker-spark/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/docker-spark/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/docker-spark/tags","blobs_url":"https://api.github.com/repos/azavea/docker-spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/docker-spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/docker-spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/docker-spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/docker-spark/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/docker-spark/languages","stargazers_url":"https://api.github.com/repos/azavea/docker-spark/stargazers","contributors_url":"https://api.github.com/repos/azavea/docker-spark/contributors","subscribers_url":"https://api.github.com/repos/azavea/docker-spark/subscribers","subscription_url":"https://api.github.com/repos/azavea/docker-spark/subscription","commits_url":"https://api.github.com/repos/azavea/docker-spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/docker-spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/docker-spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/docker-spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/docker-spark/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/docker-spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/docker-spark/merges","archive_url":"https://api.github.com/repos/azavea/docker-spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/docker-spark/downloads","issues_url":"https://api.github.com/repos/azavea/docker-spark/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/docker-spark/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/docker-spark/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/docker-spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/docker-spark/labels{/name}","releases_url":"https://api.github.com/repos/azavea/docker-spark/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/docker-spark/deployments","created_at":"2015-07-29T16:00:24Z","updated_at":"2016-06-03T18:25:27Z","pushed_at":"2016-08-17T17:36:30Z","git_url":"git://github.com/azavea/docker-spark.git","ssh_url":"git@github.com:azavea/docker-spark.git","clone_url":"https://github.com/azavea/docker-spark.git","svn_url":"https://github.com/azavea/docker-spark","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"azavea:develop","ref":"develop","sha":"ff92136cb4cdfa68336f6299118a94e1754446c1","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":39902734,"name":"docker-spark","full_name":"azavea/docker-spark","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/docker-spark","description":"Base Docker image for Spark.","fork":false,"url":"https://api.github.com/repos/azavea/docker-spark","forks_url":"https://api.github.com/repos/azavea/docker-spark/forks","keys_url":"https://api.github.com/repos/azavea/docker-spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/docker-spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/docker-spark/teams","hooks_url":"https://api.github.com/repos/azavea/docker-spark/hooks","issue_events_url":"https://api.github.com/repos/azavea/docker-spark/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/docker-spark/events","assignees_url":"https://api.github.com/repos/azavea/docker-spark/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/docker-spark/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/docker-spark/tags","blobs_url":"https://api.github.com/repos/azavea/docker-spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/docker-spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/docker-spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/docker-spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/docker-spark/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/docker-spark/languages","stargazers_url":"https://api.github.com/repos/azavea/docker-spark/stargazers","contributors_url":"https://api.github.com/repos/azavea/docker-spark/contributors","subscribers_url":"https://api.github.com/repos/azavea/docker-spark/subscribers","subscription_url":"https://api.github.com/repos/azavea/docker-spark/subscription","commits_url":"https://api.github.com/repos/azavea/docker-spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/docker-spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/docker-spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/docker-spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/docker-spark/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/docker-spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/docker-spark/merges","archive_url":"https://api.github.com/repos/azavea/docker-spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/docker-spark/downloads","issues_url":"https://api.github.com/repos/azavea/docker-spark/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/docker-spark/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/docker-spark/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/docker-spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/docker-spark/labels{/name}","releases_url":"https://api.github.com/repos/azavea/docker-spark/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/docker-spark/deployments","created_at":"2015-07-29T16:00:24Z","updated_at":"2016-06-03T18:25:27Z","pushed_at":"2016-08-17T17:36:30Z","git_url":"git://github.com/azavea/docker-spark.git","ssh_url":"git@github.com:azavea/docker-spark.git","clone_url":"https://github.com/azavea/docker-spark.git","svn_url":"https://github.com/azavea/docker-spark","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/docker-spark/pulls/10"},"html":{"href":"https://github.com/azavea/docker-spark/pull/10"},"issue":{"href":"https://api.github.com/repos/azavea/docker-spark/issues/10"},"comments":{"href":"https://api.github.com/repos/azavea/docker-spark/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/docker-spark/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/docker-spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azavea/docker-spark/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/docker-spark/statuses/c53680c740f5e2ac51003e75a30141a2e36112ce"}}}}
{"actor":{"display_login":"hectcastro"}}