{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/palletops/lein-uberimage/pulls/24","id":34369168,"html_url":"https://github.com/palletops/lein-uberimage/pull/24","diff_url":"https://github.com/palletops/lein-uberimage/pull/24.diff","patch_url":"https://github.com/palletops/lein-uberimage/pull/24.patch","issue_url":"https://api.github.com/repos/palletops/lein-uberimage/issues/24","number":24,"state":"open","locked":false,"title":"Use ENTRYPOINT rather than CMD.","user":{"login":"sw1nn","id":373335,"avatar_url":"https://avatars.githubusercontent.com/u/373335?v=3","gravatar_id":"","url":"https://api.github.com/users/sw1nn","html_url":"https://github.com/sw1nn","followers_url":"https://api.github.com/users/sw1nn/followers","following_url":"https://api.github.com/users/sw1nn/following{/other_user}","gists_url":"https://api.github.com/users/sw1nn/gists{/gist_id}","starred_url":"https://api.github.com/users/sw1nn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw1nn/subscriptions","organizations_url":"https://api.github.com/users/sw1nn/orgs","repos_url":"https://api.github.com/users/sw1nn/repos","events_url":"https://api.github.com/users/sw1nn/events{/privacy}","received_events_url":"https://api.github.com/users/sw1nn/received_events","type":"User","site_admin":false},"body":"This changes the default way the docker image runs. The motivation is to be able to use the images created here as command line tools. e.g.\r\n\r\n``` sh\r\n$ lein uberimage\r\n...\r\nBuilt image 123asdf131 [test/image]\r\n\r\ndocker run -it test/image --arg1 param1\r\n```\r\nPreviously you would have to do this:\r\n``` sh\r\ndocker run -it test/image /usr/bin/java -jar /uberjar.jar --arg1 param1\r\n```\r\nYou still have the option to not have an entrypoint, but you must explicitly define that with `:entrypoint nil` in the `project.clj` config.","created_at":"2015-04-29T14:36:58Z","updated_at":"2015-04-29T14:36:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/palletops/lein-uberimage/pulls/24/commits","review_comments_url":"https://api.github.com/repos/palletops/lein-uberimage/pulls/24/comments","review_comment_url":"https://api.github.com/repos/palletops/lein-uberimage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/palletops/lein-uberimage/issues/24/comments","statuses_url":"https://api.github.com/repos/palletops/lein-uberimage/statuses/531fec4be6197322202e9bc47801ceebbd0ace16","head":{"label":"sw1nn:feature/add-entrypoint-support","ref":"feature/add-entrypoint-support","sha":"531fec4be6197322202e9bc47801ceebbd0ace16","user":{"login":"sw1nn","id":373335,"avatar_url":"https://avatars.githubusercontent.com/u/373335?v=3","gravatar_id":"","url":"https://api.github.com/users/sw1nn","html_url":"https://github.com/sw1nn","followers_url":"https://api.github.com/users/sw1nn/followers","following_url":"https://api.github.com/users/sw1nn/following{/other_user}","gists_url":"https://api.github.com/users/sw1nn/gists{/gist_id}","starred_url":"https://api.github.com/users/sw1nn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw1nn/subscriptions","organizations_url":"https://api.github.com/users/sw1nn/orgs","repos_url":"https://api.github.com/users/sw1nn/repos","events_url":"https://api.github.com/users/sw1nn/events{/privacy}","received_events_url":"https://api.github.com/users/sw1nn/received_events","type":"User","site_admin":false},"repo":{"id":26489494,"name":"lein-uberimage","full_name":"sw1nn/lein-uberimage","owner":{"login":"sw1nn","id":373335,"avatar_url":"https://avatars.githubusercontent.com/u/373335?v=3","gravatar_id":"","url":"https://api.github.com/users/sw1nn","html_url":"https://github.com/sw1nn","followers_url":"https://api.github.com/users/sw1nn/followers","following_url":"https://api.github.com/users/sw1nn/following{/other_user}","gists_url":"https://api.github.com/users/sw1nn/gists{/gist_id}","starred_url":"https://api.github.com/users/sw1nn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sw1nn/subscriptions","organizations_url":"https://api.github.com/users/sw1nn/orgs","repos_url":"https://api.github.com/users/sw1nn/repos","events_url":"https://api.github.com/users/sw1nn/events{/privacy}","received_events_url":"https://api.github.com/users/sw1nn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sw1nn/lein-uberimage","description":"A Leiningen plugin to generate a docker image that runs a project's uberjar.","fork":true,"url":"https://api.github.com/repos/sw1nn/lein-uberimage","forks_url":"https://api.github.com/repos/sw1nn/lein-uberimage/forks","keys_url":"https://api.github.com/repos/sw1nn/lein-uberimage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sw1nn/lein-uberimage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sw1nn/lein-uberimage/teams","hooks_url":"https://api.github.com/repos/sw1nn/lein-uberimage/hooks","issue_events_url":"https://api.github.com/repos/sw1nn/lein-uberimage/issues/events{/number}","events_url":"https://api.github.com/repos/sw1nn/lein-uberimage/events","assignees_url":"https://api.github.com/repos/sw1nn/lein-uberimage/assignees{/user}","branches_url":"https://api.github.com/repos/sw1nn/lein-uberimage/branches{/branch}","tags_url":"https://api.github.com/repos/sw1nn/lein-uberimage/tags","blobs_url":"https://api.github.com/repos/sw1nn/lein-uberimage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sw1nn/lein-uberimage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sw1nn/lein-uberimage/git/refs{/sha}","trees_url":"https://api.github.com/repos/sw1nn/lein-uberimage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sw1nn/lein-uberimage/statuses/{sha}","languages_url":"https://api.github.com/repos/sw1nn/lein-uberimage/languages","stargazers_url":"https://api.github.com/repos/sw1nn/lein-uberimage/stargazers","contributors_url":"https://api.github.com/repos/sw1nn/lein-uberimage/contributors","subscribers_url":"https://api.github.com/repos/sw1nn/lein-uberimage/subscribers","subscription_url":"https://api.github.com/repos/sw1nn/lein-uberimage/subscription","commits_url":"https://api.github.com/repos/sw1nn/lein-uberimage/commits{/sha}","git_commits_url":"https://api.github.com/repos/sw1nn/lein-uberimage/git/commits{/sha}","comments_url":"https://api.github.com/repos/sw1nn/lein-uberimage/comments{/number}","issue_comment_url":"https://api.github.com/repos/sw1nn/lein-uberimage/issues/comments{/number}","contents_url":"https://api.github.com/repos/sw1nn/lein-uberimage/contents/{+path}","compare_url":"https://api.github.com/repos/sw1nn/lein-uberimage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sw1nn/lein-uberimage/merges","archive_url":"https://api.github.com/repos/sw1nn/lein-uberimage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sw1nn/lein-uberimage/downloads","issues_url":"https://api.github.com/repos/sw1nn/lein-uberimage/issues{/number}","pulls_url":"https://api.github.com/repos/sw1nn/lein-uberimage/pulls{/number}","milestones_url":"https://api.github.com/repos/sw1nn/lein-uberimage/milestones{/number}","notifications_url":"https://api.github.com/repos/sw1nn/lein-uberimage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sw1nn/lein-uberimage/labels{/name}","releases_url":"https://api.github.com/repos/sw1nn/lein-uberimage/releases{/id}","created_at":"2014-11-11T14:53:44Z","updated_at":"2015-04-29T14:33:14Z","pushed_at":"2015-04-29T14:33:14Z","git_url":"git://github.com/sw1nn/lein-uberimage.git","ssh_url":"git@github.com:sw1nn/lein-uberimage.git","clone_url":"https://github.com/sw1nn/lein-uberimage.git","svn_url":"https://github.com/sw1nn/lein-uberimage","homepage":"","size":159,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":"develop"}},"base":{"label":"palletops:develop","ref":"develop","sha":"7a996749fc7b3d53ab625c3ce413f8c76ad08600","user":{"login":"palletops","id":1168264,"avatar_url":"https://avatars.githubusercontent.com/u/1168264?v=3","gravatar_id":"","url":"https://api.github.com/users/palletops","html_url":"https://github.com/palletops","followers_url":"https://api.github.com/users/palletops/followers","following_url":"https://api.github.com/users/palletops/following{/other_user}","gists_url":"https://api.github.com/users/palletops/gists{/gist_id}","starred_url":"https://api.github.com/users/palletops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palletops/subscriptions","organizations_url":"https://api.github.com/users/palletops/orgs","repos_url":"https://api.github.com/users/palletops/repos","events_url":"https://api.github.com/users/palletops/events{/privacy}","received_events_url":"https://api.github.com/users/palletops/received_events","type":"Organization","site_admin":false},"repo":{"id":21792846,"name":"lein-uberimage","full_name":"palletops/lein-uberimage","owner":{"login":"palletops","id":1168264,"avatar_url":"https://avatars.githubusercontent.com/u/1168264?v=3","gravatar_id":"","url":"https://api.github.com/users/palletops","html_url":"https://github.com/palletops","followers_url":"https://api.github.com/users/palletops/followers","following_url":"https://api.github.com/users/palletops/following{/other_user}","gists_url":"https://api.github.com/users/palletops/gists{/gist_id}","starred_url":"https://api.github.com/users/palletops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palletops/subscriptions","organizations_url":"https://api.github.com/users/palletops/orgs","repos_url":"https://api.github.com/users/palletops/repos","events_url":"https://api.github.com/users/palletops/events{/privacy}","received_events_url":"https://api.github.com/users/palletops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/palletops/lein-uberimage","description":"A Leiningen plugin to generate a docker image that runs a project's uberjar.","fork":false,"url":"https://api.github.com/repos/palletops/lein-uberimage","forks_url":"https://api.github.com/repos/palletops/lein-uberimage/forks","keys_url":"https://api.github.com/repos/palletops/lein-uberimage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/palletops/lein-uberimage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/palletops/lein-uberimage/teams","hooks_url":"https://api.github.com/repos/palletops/lein-uberimage/hooks","issue_events_url":"https://api.github.com/repos/palletops/lein-uberimage/issues/events{/number}","events_url":"https://api.github.com/repos/palletops/lein-uberimage/events","assignees_url":"https://api.github.com/repos/palletops/lein-uberimage/assignees{/user}","branches_url":"https://api.github.com/repos/palletops/lein-uberimage/branches{/branch}","tags_url":"https://api.github.com/repos/palletops/lein-uberimage/tags","blobs_url":"https://api.github.com/repos/palletops/lein-uberimage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/palletops/lein-uberimage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/palletops/lein-uberimage/git/refs{/sha}","trees_url":"https://api.github.com/repos/palletops/lein-uberimage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/palletops/lein-uberimage/statuses/{sha}","languages_url":"https://api.github.com/repos/palletops/lein-uberimage/languages","stargazers_url":"https://api.github.com/repos/palletops/lein-uberimage/stargazers","contributors_url":"https://api.github.com/repos/palletops/lein-uberimage/contributors","subscribers_url":"https://api.github.com/repos/palletops/lein-uberimage/subscribers","subscription_url":"https://api.github.com/repos/palletops/lein-uberimage/subscription","commits_url":"https://api.github.com/repos/palletops/lein-uberimage/commits{/sha}","git_commits_url":"https://api.github.com/repos/palletops/lein-uberimage/git/commits{/sha}","comments_url":"https://api.github.com/repos/palletops/lein-uberimage/comments{/number}","issue_comment_url":"https://api.github.com/repos/palletops/lein-uberimage/issues/comments{/number}","contents_url":"https://api.github.com/repos/palletops/lein-uberimage/contents/{+path}","compare_url":"https://api.github.com/repos/palletops/lein-uberimage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/palletops/lein-uberimage/merges","archive_url":"https://api.github.com/repos/palletops/lein-uberimage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/palletops/lein-uberimage/downloads","issues_url":"https://api.github.com/repos/palletops/lein-uberimage/issues{/number}","pulls_url":"https://api.github.com/repos/palletops/lein-uberimage/pulls{/number}","milestones_url":"https://api.github.com/repos/palletops/lein-uberimage/milestones{/number}","notifications_url":"https://api.github.com/repos/palletops/lein-uberimage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/palletops/lein-uberimage/labels{/name}","releases_url":"https://api.github.com/repos/palletops/lein-uberimage/releases{/id}","created_at":"2014-07-13T14:57:40Z","updated_at":"2015-04-24T18:44:12Z","pushed_at":"2015-04-29T14:36:58Z","git_url":"git://github.com/palletops/lein-uberimage.git","ssh_url":"git@github.com:palletops/lein-uberimage.git","clone_url":"https://github.com/palletops/lein-uberimage.git","svn_url":"https://github.com/palletops/lein-uberimage","homepage":"","size":403,"stargazers_count":82,"watchers_count":82,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":9,"forks":8,"open_issues":9,"watchers":82,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/palletops/lein-uberimage/pulls/24"},"html":{"href":"https://github.com/palletops/lein-uberimage/pull/24"},"issue":{"href":"https://api.github.com/repos/palletops/lein-uberimage/issues/24"},"comments":{"href":"https://api.github.com/repos/palletops/lein-uberimage/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/palletops/lein-uberimage/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/palletops/lein-uberimage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/palletops/lein-uberimage/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/palletops/lein-uberimage/statuses/531fec4be6197322202e9bc47801ceebbd0ace16"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":10,"changed_files":2}}