{"action":"created","issue":{"url":"https://api.github.com/repos/sorintlab/stolon/issues/149","repository_url":"https://api.github.com/repos/sorintlab/stolon","labels_url":"https://api.github.com/repos/sorintlab/stolon/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/sorintlab/stolon/issues/149/comments","events_url":"https://api.github.com/repos/sorintlab/stolon/issues/149/events","html_url":"https://github.com/sorintlab/stolon/pull/149","id":176988078,"number":149,"title":"Changed to official PostgreSQL docker image","user":{"login":"tomazzaman","id":10770386,"avatar_url":"https://avatars.githubusercontent.com/u/10770386?v=3","gravatar_id":"","url":"https://api.github.com/users/tomazzaman","html_url":"https://github.com/tomazzaman","followers_url":"https://api.github.com/users/tomazzaman/followers","following_url":"https://api.github.com/users/tomazzaman/following{/other_user}","gists_url":"https://api.github.com/users/tomazzaman/gists{/gist_id}","starred_url":"https://api.github.com/users/tomazzaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomazzaman/subscriptions","organizations_url":"https://api.github.com/users/tomazzaman/orgs","repos_url":"https://api.github.com/users/tomazzaman/repos","events_url":"https://api.github.com/users/tomazzaman/events{/privacy}","received_events_url":"https://api.github.com/users/tomazzaman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-14T18:45:51Z","updated_at":"2016-10-09T03:20:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sorintlab/stolon/pulls/149","html_url":"https://github.com/sorintlab/stolon/pull/149","diff_url":"https://github.com/sorintlab/stolon/pull/149.diff","patch_url":"https://github.com/sorintlab/stolon/pull/149.patch"},"body":"Changes:\r\n- removed the image in kubernetes example because it had no control over postgres version (or any other version for that matter)\r\n- `run.sh` is too simple to bother having around, rather moved those to YAML files (also having env variable dictate which command to run _feels_ wrong)\r\n- moved the `Dockerfile` to the root so that Stolon is built _inside_ the container, rather than outside, which can have a different environment\r\n- said `Dockerfile` now uses the official image"},"comment":{"url":"https://api.github.com/repos/sorintlab/stolon/issues/comments/252461964","html_url":"https://github.com/sorintlab/stolon/pull/149#issuecomment-252461964","issue_url":"https://api.github.com/repos/sorintlab/stolon/issues/149","id":252461964,"user":{"login":"euank","id":2147649,"avatar_url":"https://avatars.githubusercontent.com/u/2147649?v=3","gravatar_id":"","url":"https://api.github.com/users/euank","html_url":"https://github.com/euank","followers_url":"https://api.github.com/users/euank/followers","following_url":"https://api.github.com/users/euank/following{/other_user}","gists_url":"https://api.github.com/users/euank/gists{/gist_id}","starred_url":"https://api.github.com/users/euank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euank/subscriptions","organizations_url":"https://api.github.com/users/euank/orgs","repos_url":"https://api.github.com/users/euank/repos","events_url":"https://api.github.com/users/euank/events{/privacy}","received_events_url":"https://api.github.com/users/euank/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T03:20:50Z","updated_at":"2016-10-09T03:20:50Z","body":"> regarding the Dockerfile, there's unfortunately now way to copy contents inside the image from directories outside the one that Dockerfile is in, so it had to be moved to the root - no way around it, apparently for security reasons.\r\n\r\nThe build context directory doesn't have to match the Dockerfile directory. It could remain where it is now and the command could be changed to `docker build -f ./examples/kubernetes/image/docker/Dockerfile -t image-name .` and be run with its working directory at the root, and it should work!"}}
{"actor":{"display_login":"euank"}}