{"action":"created","comment":{"url":"https://api.github.com/repos/kartoza/docker-postgis/pulls/comments/151301664","pull_request_review_id":76987455,"id":151301664,"diff_hunk":"@@ -6,31 +6,35 @@ RUN  export DEBIAN_FRONTEND=noninteractive\n ENV  DEBIAN_FRONTEND noninteractive\n RUN  dpkg-divert --local --rename --add /sbin/initctl\n \n-RUN apt-get -y update\n-RUN apt-get -y install gnupg2 wget ca-certificates rpl pwgen\n+RUN apt-get -y update; apt-get -y install gnupg2 wget ca-certificates rpl pwgen","path":"Dockerfile","position":6,"original_position":6,"commit_id":"1de4e3e6013901b3f9d0f564b7cb851101abc184","original_commit_id":"1de4e3e6013901b3f9d0f564b7cb851101abc184","user":{"login":"lucernae","id":831865,"avatar_url":"https://avatars2.githubusercontent.com/u/831865?v=4","gravatar_id":"","url":"https://api.github.com/users/lucernae","html_url":"https://github.com/lucernae","followers_url":"https://api.github.com/users/lucernae/followers","following_url":"https://api.github.com/users/lucernae/following{/other_user}","gists_url":"https://api.github.com/users/lucernae/gists{/gist_id}","starred_url":"https://api.github.com/users/lucernae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucernae/subscriptions","organizations_url":"https://api.github.com/users/lucernae/orgs","repos_url":"https://api.github.com/users/lucernae/repos","events_url":"https://api.github.com/users/lucernae/events{/privacy}","received_events_url":"https://api.github.com/users/lucernae/received_events","type":"User","site_admin":false},"body":"Update and install needs to be on the same line. Otherwise it will be cached and the actual package location might change in the future.","created_at":"2017-11-16T01:35:49Z","updated_at":"2017-11-16T01:46:27Z","html_url":"https://github.com/kartoza/docker-postgis/pull/73#discussion_r151301664","pull_request_url":"https://api.github.com/repos/kartoza/docker-postgis/pulls/73","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kartoza/docker-postgis/pulls/comments/151301664"},"html":{"href":"https://github.com/kartoza/docker-postgis/pull/73#discussion_r151301664"},"pull_request":{"href":"https://api.github.com/repos/kartoza/docker-postgis/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/kartoza/docker-postgis/pulls/73","id":152929086,"html_url":"https://github.com/kartoza/docker-postgis/pull/73","diff_url":"https://github.com/kartoza/docker-postgis/pull/73.diff","patch_url":"https://github.com/kartoza/docker-postgis/pull/73.patch","issue_url":"https://api.github.com/repos/kartoza/docker-postgis/issues/73","number":73,"state":"open","locked":false,"title":"Add replication abilities","user":{"login":"lucernae","id":831865,"avatar_url":"https://avatars2.githubusercontent.com/u/831865?v=4","gravatar_id":"","url":"https://api.github.com/users/lucernae","html_url":"https://github.com/lucernae","followers_url":"https://api.github.com/users/lucernae/followers","following_url":"https://api.github.com/users/lucernae/following{/other_user}","gists_url":"https://api.github.com/users/lucernae/gists{/gist_id}","starred_url":"https://api.github.com/users/lucernae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucernae/subscriptions","organizations_url":"https://api.github.com/users/lucernae/orgs","repos_url":"https://api.github.com/users/lucernae/repos","events_url":"https://api.github.com/users/lucernae/events{/privacy}","received_events_url":"https://api.github.com/users/lucernae/received_events","type":"User","site_admin":false},"body":"Follow up from #71 \r\n\r\n- Add logic scripts and configuration for enabling postgres replication in standby mode\r\n- Include sample of docker-compose.yml which is using replication\r\n- Refactor scripts to implement docker best-practices of using docker-entrypoint.sh\r\n- Refactor common variables to reduce confusion when migrating the script to other postgis branch/version\r\n- Add documentation and explanation about replication","created_at":"2017-11-16T01:26:05Z","updated_at":"2017-11-16T01:46:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fbcf48202685658720bac4be8126f1e92670ac5","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kartoza/docker-postgis/pulls/73/commits","review_comments_url":"https://api.github.com/repos/kartoza/docker-postgis/pulls/73/comments","review_comment_url":"https://api.github.com/repos/kartoza/docker-postgis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kartoza/docker-postgis/issues/73/comments","statuses_url":"https://api.github.com/repos/kartoza/docker-postgis/statuses/1de4e3e6013901b3f9d0f564b7cb851101abc184","head":{"label":"lucernae:replication-9.6","ref":"replication-9.6","sha":"1de4e3e6013901b3f9d0f564b7cb851101abc184","user":{"login":"lucernae","id":831865,"avatar_url":"https://avatars2.githubusercontent.com/u/831865?v=4","gravatar_id":"","url":"https://api.github.com/users/lucernae","html_url":"https://github.com/lucernae","followers_url":"https://api.github.com/users/lucernae/followers","following_url":"https://api.github.com/users/lucernae/following{/other_user}","gists_url":"https://api.github.com/users/lucernae/gists{/gist_id}","starred_url":"https://api.github.com/users/lucernae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucernae/subscriptions","organizations_url":"https://api.github.com/users/lucernae/orgs","repos_url":"https://api.github.com/users/lucernae/repos","events_url":"https://api.github.com/users/lucernae/events{/privacy}","received_events_url":"https://api.github.com/users/lucernae/received_events","type":"User","site_admin":false},"repo":{"id":109810162,"name":"docker-postgis","full_name":"lucernae/docker-postgis","owner":{"login":"lucernae","id":831865,"avatar_url":"https://avatars2.githubusercontent.com/u/831865?v=4","gravatar_id":"","url":"https://api.github.com/users/lucernae","html_url":"https://github.com/lucernae","followers_url":"https://api.github.com/users/lucernae/followers","following_url":"https://api.github.com/users/lucernae/following{/other_user}","gists_url":"https://api.github.com/users/lucernae/gists{/gist_id}","starred_url":"https://api.github.com/users/lucernae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucernae/subscriptions","organizations_url":"https://api.github.com/users/lucernae/orgs","repos_url":"https://api.github.com/users/lucernae/repos","events_url":"https://api.github.com/users/lucernae/events{/privacy}","received_events_url":"https://api.github.com/users/lucernae/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucernae/docker-postgis","description":"Dockerfile for postgis","fork":true,"url":"https://api.github.com/repos/lucernae/docker-postgis","forks_url":"https://api.github.com/repos/lucernae/docker-postgis/forks","keys_url":"https://api.github.com/repos/lucernae/docker-postgis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucernae/docker-postgis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucernae/docker-postgis/teams","hooks_url":"https://api.github.com/repos/lucernae/docker-postgis/hooks","issue_events_url":"https://api.github.com/repos/lucernae/docker-postgis/issues/events{/number}","events_url":"https://api.github.com/repos/lucernae/docker-postgis/events","assignees_url":"https://api.github.com/repos/lucernae/docker-postgis/assignees{/user}","branches_url":"https://api.github.com/repos/lucernae/docker-postgis/branches{/branch}","tags_url":"https://api.github.com/repos/lucernae/docker-postgis/tags","blobs_url":"https://api.github.com/repos/lucernae/docker-postgis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucernae/docker-postgis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucernae/docker-postgis/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucernae/docker-postgis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucernae/docker-postgis/statuses/{sha}","languages_url":"https://api.github.com/repos/lucernae/docker-postgis/languages","stargazers_url":"https://api.github.com/repos/lucernae/docker-postgis/stargazers","contributors_url":"https://api.github.com/repos/lucernae/docker-postgis/contributors","subscribers_url":"https://api.github.com/repos/lucernae/docker-postgis/subscribers","subscription_url":"https://api.github.com/repos/lucernae/docker-postgis/subscription","commits_url":"https://api.github.com/repos/lucernae/docker-postgis/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucernae/docker-postgis/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucernae/docker-postgis/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucernae/docker-postgis/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucernae/docker-postgis/contents/{+path}","compare_url":"https://api.github.com/repos/lucernae/docker-postgis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucernae/docker-postgis/merges","archive_url":"https://api.github.com/repos/lucernae/docker-postgis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucernae/docker-postgis/downloads","issues_url":"https://api.github.com/repos/lucernae/docker-postgis/issues{/number}","pulls_url":"https://api.github.com/repos/lucernae/docker-postgis/pulls{/number}","milestones_url":"https://api.github.com/repos/lucernae/docker-postgis/milestones{/number}","notifications_url":"https://api.github.com/repos/lucernae/docker-postgis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucernae/docker-postgis/labels{/name}","releases_url":"https://api.github.com/repos/lucernae/docker-postgis/releases{/id}","deployments_url":"https://api.github.com/repos/lucernae/docker-postgis/deployments","created_at":"2017-11-07T08:54:20Z","updated_at":"2017-11-07T08:54:22Z","pushed_at":"2017-11-16T01:27:31Z","git_url":"git://github.com/lucernae/docker-postgis.git","ssh_url":"git@github.com:lucernae/docker-postgis.git","clone_url":"https://github.com/lucernae/docker-postgis.git","svn_url":"https://github.com/lucernae/docker-postgis","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"kartoza:9.6-2.4","ref":"9.6-2.4","sha":"9987840ec4c51660be01d0d1fcfdd9584c6dce89","user":{"login":"kartoza","id":7395888,"avatar_url":"https://avatars3.githubusercontent.com/u/7395888?v=4","gravatar_id":"","url":"https://api.github.com/users/kartoza","html_url":"https://github.com/kartoza","followers_url":"https://api.github.com/users/kartoza/followers","following_url":"https://api.github.com/users/kartoza/following{/other_user}","gists_url":"https://api.github.com/users/kartoza/gists{/gist_id}","starred_url":"https://api.github.com/users/kartoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartoza/subscriptions","organizations_url":"https://api.github.com/users/kartoza/orgs","repos_url":"https://api.github.com/users/kartoza/repos","events_url":"https://api.github.com/users/kartoza/events{/privacy}","received_events_url":"https://api.github.com/users/kartoza/received_events","type":"Organization","site_admin":false},"repo":{"id":19433373,"name":"docker-postgis","full_name":"kartoza/docker-postgis","owner":{"login":"kartoza","id":7395888,"avatar_url":"https://avatars3.githubusercontent.com/u/7395888?v=4","gravatar_id":"","url":"https://api.github.com/users/kartoza","html_url":"https://github.com/kartoza","followers_url":"https://api.github.com/users/kartoza/followers","following_url":"https://api.github.com/users/kartoza/following{/other_user}","gists_url":"https://api.github.com/users/kartoza/gists{/gist_id}","starred_url":"https://api.github.com/users/kartoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartoza/subscriptions","organizations_url":"https://api.github.com/users/kartoza/orgs","repos_url":"https://api.github.com/users/kartoza/repos","events_url":"https://api.github.com/users/kartoza/events{/privacy}","received_events_url":"https://api.github.com/users/kartoza/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kartoza/docker-postgis","description":"Dockerfile for postgis","fork":false,"url":"https://api.github.com/repos/kartoza/docker-postgis","forks_url":"https://api.github.com/repos/kartoza/docker-postgis/forks","keys_url":"https://api.github.com/repos/kartoza/docker-postgis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kartoza/docker-postgis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kartoza/docker-postgis/teams","hooks_url":"https://api.github.com/repos/kartoza/docker-postgis/hooks","issue_events_url":"https://api.github.com/repos/kartoza/docker-postgis/issues/events{/number}","events_url":"https://api.github.com/repos/kartoza/docker-postgis/events","assignees_url":"https://api.github.com/repos/kartoza/docker-postgis/assignees{/user}","branches_url":"https://api.github.com/repos/kartoza/docker-postgis/branches{/branch}","tags_url":"https://api.github.com/repos/kartoza/docker-postgis/tags","blobs_url":"https://api.github.com/repos/kartoza/docker-postgis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kartoza/docker-postgis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kartoza/docker-postgis/git/refs{/sha}","trees_url":"https://api.github.com/repos/kartoza/docker-postgis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kartoza/docker-postgis/statuses/{sha}","languages_url":"https://api.github.com/repos/kartoza/docker-postgis/languages","stargazers_url":"https://api.github.com/repos/kartoza/docker-postgis/stargazers","contributors_url":"https://api.github.com/repos/kartoza/docker-postgis/contributors","subscribers_url":"https://api.github.com/repos/kartoza/docker-postgis/subscribers","subscription_url":"https://api.github.com/repos/kartoza/docker-postgis/subscription","commits_url":"https://api.github.com/repos/kartoza/docker-postgis/commits{/sha}","git_commits_url":"https://api.github.com/repos/kartoza/docker-postgis/git/commits{/sha}","comments_url":"https://api.github.com/repos/kartoza/docker-postgis/comments{/number}","issue_comment_url":"https://api.github.com/repos/kartoza/docker-postgis/issues/comments{/number}","contents_url":"https://api.github.com/repos/kartoza/docker-postgis/contents/{+path}","compare_url":"https://api.github.com/repos/kartoza/docker-postgis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kartoza/docker-postgis/merges","archive_url":"https://api.github.com/repos/kartoza/docker-postgis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kartoza/docker-postgis/downloads","issues_url":"https://api.github.com/repos/kartoza/docker-postgis/issues{/number}","pulls_url":"https://api.github.com/repos/kartoza/docker-postgis/pulls{/number}","milestones_url":"https://api.github.com/repos/kartoza/docker-postgis/milestones{/number}","notifications_url":"https://api.github.com/repos/kartoza/docker-postgis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kartoza/docker-postgis/labels{/name}","releases_url":"https://api.github.com/repos/kartoza/docker-postgis/releases{/id}","deployments_url":"https://api.github.com/repos/kartoza/docker-postgis/deployments","created_at":"2014-05-04T18:52:28Z","updated_at":"2017-11-15T02:05:10Z","pushed_at":"2017-11-16T01:26:36Z","git_url":"git://github.com/kartoza/docker-postgis.git","ssh_url":"git@github.com:kartoza/docker-postgis.git","clone_url":"https://github.com/kartoza/docker-postgis.git","svn_url":"https://github.com/kartoza/docker-postgis","homepage":null,"size":70,"stargazers_count":89,"watchers_count":89,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"archived":false,"open_issues_count":11,"forks":87,"open_issues":11,"watchers":89,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/kartoza/docker-postgis/pulls/73"},"html":{"href":"https://github.com/kartoza/docker-postgis/pull/73"},"issue":{"href":"https://api.github.com/repos/kartoza/docker-postgis/issues/73"},"comments":{"href":"https://api.github.com/repos/kartoza/docker-postgis/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/kartoza/docker-postgis/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/kartoza/docker-postgis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kartoza/docker-postgis/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/kartoza/docker-postgis/statuses/1de4e3e6013901b3f9d0f564b7cb851101abc184"}},"author_association":"NONE"}}
{"actor":{"display_login":"lucernae"}}