{"action":"created","comment":{"url":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/comments/43683850","id":43683850,"diff_hunk":"@@ -0,0 +1,20 @@\n+FROM debian:jessie\n+\n+# install curl and jq\n+RUN apt-get update && \\\n+    apt-get install -y \\\n+    curl \\\n+    jq && \\\n+    rm -rf /var/lib/apt/lists/*\n+\n+# get containerbuddy release\n+RUN export CB=containerbuddy-0.0.1-alpha &&\\\n+    mkdir -p /opt/containerbuddy && \\\n+    curl -Lo /tmp/${CB}.tar.gz \\\n+    https://github.com/joyent/containerbuddy/releases/download/0.0.1-alpha/${CB}.tar.gz && \\\n+\ttar -xf /tmp/${CB}.tar.gz && \\\n+    mv /build/containerbuddy /opt/containerbuddy/","path":"Dockerfile","position":16,"original_position":16,"commit_id":"1cae9284f294e0e54a5a0d1ab2742356a0d779a2","original_commit_id":"1cae9284f294e0e54a5a0d1ab2742356a0d779a2","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"body":"FYI on this bit, @misterbisson:\r\n> If `<src>` is a local tar archive in a recognized compression format (identity, gzip, bzip2 or xz) then it is unpacked as a directory. Resources from remote URLs are not decompressed.","created_at":"2015-11-02T21:19:37Z","updated_at":"2015-11-02T21:19:37Z","html_url":"https://github.com/tgross/triton-cloudflare/pull/1#discussion_r43683850","pull_request_url":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/comments/43683850"},"html":{"href":"https://github.com/tgross/triton-cloudflare/pull/1#discussion_r43683850"},"pull_request":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/1","id":49065251,"html_url":"https://github.com/tgross/triton-cloudflare/pull/1","diff_url":"https://github.com/tgross/triton-cloudflare/pull/1.diff","patch_url":"https://github.com/tgross/triton-cloudflare/pull/1.patch","issue_url":"https://api.github.com/repos/tgross/triton-cloudflare/issues/1","number":1,"state":"open","locked":false,"title":"Working triton-cloudflare","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"body":"This is a smoke-tested implementation of using Containerbuddy to update Cloudflare DNS when Nginx instances advertise themselves to Consul.\r\n\r\n@misterbisson to review please.","created_at":"2015-10-28T20:52:37Z","updated_at":"2015-11-02T21:19:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afbf142fff97031dc53f8474d3f818fceef0f958","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgross/triton-cloudflare/issues/1/comments","statuses_url":"https://api.github.com/repos/tgross/triton-cloudflare/statuses/1cae9284f294e0e54a5a0d1ab2742356a0d779a2","head":{"label":"tgross:working","ref":"working","sha":"1cae9284f294e0e54a5a0d1ab2742356a0d779a2","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"repo":{"id":44693696,"name":"triton-cloudflare","full_name":"tgross/triton-cloudflare","owner":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgross/triton-cloudflare","description":"Automatically update an external DNS provider when a containerized service's IPs change","fork":false,"url":"https://api.github.com/repos/tgross/triton-cloudflare","forks_url":"https://api.github.com/repos/tgross/triton-cloudflare/forks","keys_url":"https://api.github.com/repos/tgross/triton-cloudflare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgross/triton-cloudflare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgross/triton-cloudflare/teams","hooks_url":"https://api.github.com/repos/tgross/triton-cloudflare/hooks","issue_events_url":"https://api.github.com/repos/tgross/triton-cloudflare/issues/events{/number}","events_url":"https://api.github.com/repos/tgross/triton-cloudflare/events","assignees_url":"https://api.github.com/repos/tgross/triton-cloudflare/assignees{/user}","branches_url":"https://api.github.com/repos/tgross/triton-cloudflare/branches{/branch}","tags_url":"https://api.github.com/repos/tgross/triton-cloudflare/tags","blobs_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgross/triton-cloudflare/statuses/{sha}","languages_url":"https://api.github.com/repos/tgross/triton-cloudflare/languages","stargazers_url":"https://api.github.com/repos/tgross/triton-cloudflare/stargazers","contributors_url":"https://api.github.com/repos/tgross/triton-cloudflare/contributors","subscribers_url":"https://api.github.com/repos/tgross/triton-cloudflare/subscribers","subscription_url":"https://api.github.com/repos/tgross/triton-cloudflare/subscription","commits_url":"https://api.github.com/repos/tgross/triton-cloudflare/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgross/triton-cloudflare/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgross/triton-cloudflare/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgross/triton-cloudflare/contents/{+path}","compare_url":"https://api.github.com/repos/tgross/triton-cloudflare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgross/triton-cloudflare/merges","archive_url":"https://api.github.com/repos/tgross/triton-cloudflare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgross/triton-cloudflare/downloads","issues_url":"https://api.github.com/repos/tgross/triton-cloudflare/issues{/number}","pulls_url":"https://api.github.com/repos/tgross/triton-cloudflare/pulls{/number}","milestones_url":"https://api.github.com/repos/tgross/triton-cloudflare/milestones{/number}","notifications_url":"https://api.github.com/repos/tgross/triton-cloudflare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgross/triton-cloudflare/labels{/name}","releases_url":"https://api.github.com/repos/tgross/triton-cloudflare/releases{/id}","created_at":"2015-10-21T17:44:30Z","updated_at":"2015-10-21T17:44:30Z","pushed_at":"2015-11-02T21:16:55Z","git_url":"git://github.com/tgross/triton-cloudflare.git","ssh_url":"git@github.com:tgross/triton-cloudflare.git","clone_url":"https://github.com/tgross/triton-cloudflare.git","svn_url":"https://github.com/tgross/triton-cloudflare","homepage":null,"size":168,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tgross:master","ref":"master","sha":"2675800552c14682e84641ab08b5ede2cc55033d","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"repo":{"id":44693696,"name":"triton-cloudflare","full_name":"tgross/triton-cloudflare","owner":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgross/triton-cloudflare","description":"Automatically update an external DNS provider when a containerized service's IPs change","fork":false,"url":"https://api.github.com/repos/tgross/triton-cloudflare","forks_url":"https://api.github.com/repos/tgross/triton-cloudflare/forks","keys_url":"https://api.github.com/repos/tgross/triton-cloudflare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgross/triton-cloudflare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgross/triton-cloudflare/teams","hooks_url":"https://api.github.com/repos/tgross/triton-cloudflare/hooks","issue_events_url":"https://api.github.com/repos/tgross/triton-cloudflare/issues/events{/number}","events_url":"https://api.github.com/repos/tgross/triton-cloudflare/events","assignees_url":"https://api.github.com/repos/tgross/triton-cloudflare/assignees{/user}","branches_url":"https://api.github.com/repos/tgross/triton-cloudflare/branches{/branch}","tags_url":"https://api.github.com/repos/tgross/triton-cloudflare/tags","blobs_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgross/triton-cloudflare/statuses/{sha}","languages_url":"https://api.github.com/repos/tgross/triton-cloudflare/languages","stargazers_url":"https://api.github.com/repos/tgross/triton-cloudflare/stargazers","contributors_url":"https://api.github.com/repos/tgross/triton-cloudflare/contributors","subscribers_url":"https://api.github.com/repos/tgross/triton-cloudflare/subscribers","subscription_url":"https://api.github.com/repos/tgross/triton-cloudflare/subscription","commits_url":"https://api.github.com/repos/tgross/triton-cloudflare/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgross/triton-cloudflare/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgross/triton-cloudflare/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgross/triton-cloudflare/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgross/triton-cloudflare/contents/{+path}","compare_url":"https://api.github.com/repos/tgross/triton-cloudflare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgross/triton-cloudflare/merges","archive_url":"https://api.github.com/repos/tgross/triton-cloudflare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgross/triton-cloudflare/downloads","issues_url":"https://api.github.com/repos/tgross/triton-cloudflare/issues{/number}","pulls_url":"https://api.github.com/repos/tgross/triton-cloudflare/pulls{/number}","milestones_url":"https://api.github.com/repos/tgross/triton-cloudflare/milestones{/number}","notifications_url":"https://api.github.com/repos/tgross/triton-cloudflare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgross/triton-cloudflare/labels{/name}","releases_url":"https://api.github.com/repos/tgross/triton-cloudflare/releases{/id}","created_at":"2015-10-21T17:44:30Z","updated_at":"2015-10-21T17:44:30Z","pushed_at":"2015-11-02T21:16:55Z","git_url":"git://github.com/tgross/triton-cloudflare.git","ssh_url":"git@github.com:tgross/triton-cloudflare.git","clone_url":"https://github.com/tgross/triton-cloudflare.git","svn_url":"https://github.com/tgross/triton-cloudflare","homepage":null,"size":168,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/1"},"html":{"href":"https://github.com/tgross/triton-cloudflare/pull/1"},"issue":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/issues/1"},"comments":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tgross/triton-cloudflare/statuses/1cae9284f294e0e54a5a0d1ab2742356a0d779a2"}}}}