{"action":"created","comment":{"url":"https://api.github.com/repos/broadinstitute/picard/pulls/comments/34912848","id":34912848,"diff_hunk":"@@ -1,7 +1,24 @@\n FROM broadinstitute/java-baseimage\n MAINTAINER Broad Institute DSDE <dsde-engineering@broadinstitute.org>\n \n-COPY dist/picard.jar /usr/picard/picard.jar\n+# Install ant, git for building\n+RUN apt-get update && \\\n+    apt-get --no-install-recommends install -y --force-yes \\\n+        git \\\n+        ant && \\\n+    apt-get clean autoclean && \\\n+    apt-get autoremove -y\n+\n+# Assumes Dockerfile lives in root of the git repo. Pull source files into container\n+COPY build.xml /usr/picard/build.xml\n+COPY src /usr/picard/src\n+COPY lib /usr/picard/lib\n WORKDIR /usr/picard\n \n-ENTRYPOINT [\"java\", \"-jar\", \"picard.jar\"]\n+# Clone out htsjdk. First turn off git ssl verification\n+RUN git config --global http.sslVerify false && git clone https://github.com/samtools/htsjdk.git","path":"Dockerfile","position":21,"original_position":21,"commit_id":"1792f451e644c2503babd3b818ee4404f925dcc5","original_commit_id":"1792f451e644c2503babd3b818ee4404f925dcc5","user":{"login":"gbggrant","id":4129081,"avatar_url":"https://avatars.githubusercontent.com/u/4129081?v=3","gravatar_id":"","url":"https://api.github.com/users/gbggrant","html_url":"https://github.com/gbggrant","followers_url":"https://api.github.com/users/gbggrant/followers","following_url":"https://api.github.com/users/gbggrant/following{/other_user}","gists_url":"https://api.github.com/users/gbggrant/gists{/gist_id}","starred_url":"https://api.github.com/users/gbggrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbggrant/subscriptions","organizations_url":"https://api.github.com/users/gbggrant/orgs","repos_url":"https://api.github.com/users/gbggrant/repos","events_url":"https://api.github.com/users/gbggrant/events{/privacy}","received_events_url":"https://api.github.com/users/gbggrant/received_events","type":"User","site_admin":false},"body":"There is an htsjdk-clone target in picard-public's build.xml, but perhaps you are doing it this way to get around the ssl verification?","created_at":"2015-07-17T17:42:04Z","updated_at":"2015-07-17T17:42:04Z","html_url":"https://github.com/broadinstitute/picard/pull/236#discussion_r34912848","pull_request_url":"https://api.github.com/repos/broadinstitute/picard/pulls/236","_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/comments/34912848"},"html":{"href":"https://github.com/broadinstitute/picard/pull/236#discussion_r34912848"},"pull_request":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/236"}}},"pull_request":{"url":"https://api.github.com/repos/broadinstitute/picard/pulls/236","id":40249569,"html_url":"https://github.com/broadinstitute/picard/pull/236","diff_url":"https://github.com/broadinstitute/picard/pull/236.diff","patch_url":"https://github.com/broadinstitute/picard/pull/236.patch","issue_url":"https://api.github.com/repos/broadinstitute/picard/issues/236","number":236,"state":"open","locked":false,"title":"Changes to picard Dockerfile","user":{"login":"bradtaylor","id":3492466,"avatar_url":"https://avatars.githubusercontent.com/u/3492466?v=3","gravatar_id":"","url":"https://api.github.com/users/bradtaylor","html_url":"https://github.com/bradtaylor","followers_url":"https://api.github.com/users/bradtaylor/followers","following_url":"https://api.github.com/users/bradtaylor/following{/other_user}","gists_url":"https://api.github.com/users/bradtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/bradtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradtaylor/subscriptions","organizations_url":"https://api.github.com/users/bradtaylor/orgs","repos_url":"https://api.github.com/users/bradtaylor/repos","events_url":"https://api.github.com/users/bradtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/bradtaylor/received_events","type":"User","site_admin":false},"body":"Build it from source directly, instead of relying on jar to exist. Should allow dockerhub to build the image","created_at":"2015-07-17T16:44:49Z","updated_at":"2015-07-17T17:42:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"515903fe415dda86f94e08985d8bcd692b30cb16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/broadinstitute/picard/pulls/236/commits","review_comments_url":"https://api.github.com/repos/broadinstitute/picard/pulls/236/comments","review_comment_url":"https://api.github.com/repos/broadinstitute/picard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/broadinstitute/picard/issues/236/comments","statuses_url":"https://api.github.com/repos/broadinstitute/picard/statuses/1792f451e644c2503babd3b818ee4404f925dcc5","head":{"label":"broadinstitute:bt_more_docker","ref":"bt_more_docker","sha":"1792f451e644c2503babd3b818ee4404f925dcc5","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":18225913,"name":"picard","full_name":"broadinstitute/picard","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/picard","description":"A set of tools (in Java) for working with next generation sequencing data in the BAM (http://samtools.github.io/hts-specs) format.","fork":false,"url":"https://api.github.com/repos/broadinstitute/picard","forks_url":"https://api.github.com/repos/broadinstitute/picard/forks","keys_url":"https://api.github.com/repos/broadinstitute/picard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/picard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/picard/teams","hooks_url":"https://api.github.com/repos/broadinstitute/picard/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/picard/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/picard/events","assignees_url":"https://api.github.com/repos/broadinstitute/picard/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/picard/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/picard/tags","blobs_url":"https://api.github.com/repos/broadinstitute/picard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/picard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/picard/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/picard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/picard/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/picard/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/picard/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/picard/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/picard/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/picard/subscription","commits_url":"https://api.github.com/repos/broadinstitute/picard/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/picard/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/picard/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/picard/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/picard/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/picard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/picard/merges","archive_url":"https://api.github.com/repos/broadinstitute/picard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/picard/downloads","issues_url":"https://api.github.com/repos/broadinstitute/picard/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/picard/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/picard/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/picard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/picard/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/picard/releases{/id}","created_at":"2014-03-28T20:43:35Z","updated_at":"2015-07-15T11:24:43Z","pushed_at":"2015-07-17T16:44:51Z","git_url":"git://github.com/broadinstitute/picard.git","ssh_url":"git@github.com:broadinstitute/picard.git","clone_url":"https://github.com/broadinstitute/picard.git","svn_url":"https://github.com/broadinstitute/picard","homepage":"http://broadinstitute.github.io/picard/","size":81217,"stargazers_count":98,"watchers_count":98,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":66,"mirror_url":null,"open_issues_count":25,"forks":66,"open_issues":25,"watchers":98,"default_branch":"master"}},"base":{"label":"broadinstitute:master","ref":"master","sha":"2633b7facf62ba436a0995ca130f93f6a7e3ea87","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":18225913,"name":"picard","full_name":"broadinstitute/picard","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/picard","description":"A set of tools (in Java) for working with next generation sequencing data in the BAM (http://samtools.github.io/hts-specs) format.","fork":false,"url":"https://api.github.com/repos/broadinstitute/picard","forks_url":"https://api.github.com/repos/broadinstitute/picard/forks","keys_url":"https://api.github.com/repos/broadinstitute/picard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/picard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/picard/teams","hooks_url":"https://api.github.com/repos/broadinstitute/picard/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/picard/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/picard/events","assignees_url":"https://api.github.com/repos/broadinstitute/picard/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/picard/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/picard/tags","blobs_url":"https://api.github.com/repos/broadinstitute/picard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/picard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/picard/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/picard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/picard/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/picard/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/picard/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/picard/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/picard/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/picard/subscription","commits_url":"https://api.github.com/repos/broadinstitute/picard/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/picard/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/picard/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/picard/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/picard/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/picard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/picard/merges","archive_url":"https://api.github.com/repos/broadinstitute/picard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/picard/downloads","issues_url":"https://api.github.com/repos/broadinstitute/picard/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/picard/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/picard/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/picard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/picard/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/picard/releases{/id}","created_at":"2014-03-28T20:43:35Z","updated_at":"2015-07-15T11:24:43Z","pushed_at":"2015-07-17T16:44:51Z","git_url":"git://github.com/broadinstitute/picard.git","ssh_url":"git@github.com:broadinstitute/picard.git","clone_url":"https://github.com/broadinstitute/picard.git","svn_url":"https://github.com/broadinstitute/picard","homepage":"http://broadinstitute.github.io/picard/","size":81217,"stargazers_count":98,"watchers_count":98,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":66,"mirror_url":null,"open_issues_count":25,"forks":66,"open_issues":25,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/236"},"html":{"href":"https://github.com/broadinstitute/picard/pull/236"},"issue":{"href":"https://api.github.com/repos/broadinstitute/picard/issues/236"},"comments":{"href":"https://api.github.com/repos/broadinstitute/picard/issues/236/comments"},"review_comments":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/236/comments"},"review_comment":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/broadinstitute/picard/pulls/236/commits"},"statuses":{"href":"https://api.github.com/repos/broadinstitute/picard/statuses/1792f451e644c2503babd3b818ee4404f925dcc5"}}}}