{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/pyk/rojak/pulls/23","id":88380084,"html_url":"https://github.com/pyk/rojak/pull/23","diff_url":"https://github.com/pyk/rojak/pull/23.diff","patch_url":"https://github.com/pyk/rojak/pull/23.patch","issue_url":"https://api.github.com/repos/pyk/rojak/issues/23","number":23,"state":"open","locked":false,"title":"[rojak-api] Add docker production-build image","user":{"login":"bobbypriambodo","id":4920820,"avatar_url":"https://avatars.githubusercontent.com/u/4920820?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbypriambodo","html_url":"https://github.com/bobbypriambodo","followers_url":"https://api.github.com/users/bobbypriambodo/followers","following_url":"https://api.github.com/users/bobbypriambodo/following{/other_user}","gists_url":"https://api.github.com/users/bobbypriambodo/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbypriambodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbypriambodo/subscriptions","organizations_url":"https://api.github.com/users/bobbypriambodo/orgs","repos_url":"https://api.github.com/users/bobbypriambodo/repos","events_url":"https://api.github.com/users/bobbypriambodo/events{/privacy}","received_events_url":"https://api.github.com/users/bobbypriambodo/received_events","type":"User","site_admin":false},"body":"PR ini menambahkan Dockerfile untuk release production. Instruksi untuk membuat release dan menjalankannya terdapat di README.md.\r\n\r\nDiskusi terkait hal ini ada di #15.\r\n\r\nOne thing to note adalah kita mengubah image untuk Dockerfile.dev dari `elixir` (758.7MB, bad) menjadi `msaraiva/elixir` (23.79 MB, good) yang berbasis Alpine Linux agar kita bisa reuse image tersebut untuk kompilasi release (+ menghemat bandwidth kalo mau setup dev environment pertama kali 😄 ).\r\n\r\nDengan aplikasi kosong sekarang, hasil build image untuk production memiliki size 41 MB.","created_at":"2016-10-07T04:38:00Z","updated_at":"2016-10-07T04:38:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"732b03cd69612221333df93337aad1fc8ec2cbc3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pyk/rojak/pulls/23/commits","review_comments_url":"https://api.github.com/repos/pyk/rojak/pulls/23/comments","review_comment_url":"https://api.github.com/repos/pyk/rojak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pyk/rojak/issues/23/comments","statuses_url":"https://api.github.com/repos/pyk/rojak/statuses/a33ad5a6c93988ebebdf0d20ccb0fe73d7d9b18d","head":{"label":"pyk:feature/rojak-api/deployment","ref":"feature/rojak-api/deployment","sha":"a33ad5a6c93988ebebdf0d20ccb0fe73d7d9b18d","user":{"login":"pyk","id":2213646,"avatar_url":"https://avatars.githubusercontent.com/u/2213646?v=3","gravatar_id":"","url":"https://api.github.com/users/pyk","html_url":"https://github.com/pyk","followers_url":"https://api.github.com/users/pyk/followers","following_url":"https://api.github.com/users/pyk/following{/other_user}","gists_url":"https://api.github.com/users/pyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyk/subscriptions","organizations_url":"https://api.github.com/users/pyk/orgs","repos_url":"https://api.github.com/users/pyk/repos","events_url":"https://api.github.com/users/pyk/events{/privacy}","received_events_url":"https://api.github.com/users/pyk/received_events","type":"User","site_admin":false},"repo":{"id":69780908,"name":"rojak","full_name":"pyk/rojak","owner":{"login":"pyk","id":2213646,"avatar_url":"https://avatars.githubusercontent.com/u/2213646?v=3","gravatar_id":"","url":"https://api.github.com/users/pyk","html_url":"https://github.com/pyk","followers_url":"https://api.github.com/users/pyk/followers","following_url":"https://api.github.com/users/pyk/following{/other_user}","gists_url":"https://api.github.com/users/pyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyk/subscriptions","organizations_url":"https://api.github.com/users/pyk/orgs","repos_url":"https://api.github.com/users/pyk/repos","events_url":"https://api.github.com/users/pyk/events{/privacy}","received_events_url":"https://api.github.com/users/pyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pyk/rojak","description":"Project Rojak","fork":false,"url":"https://api.github.com/repos/pyk/rojak","forks_url":"https://api.github.com/repos/pyk/rojak/forks","keys_url":"https://api.github.com/repos/pyk/rojak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyk/rojak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyk/rojak/teams","hooks_url":"https://api.github.com/repos/pyk/rojak/hooks","issue_events_url":"https://api.github.com/repos/pyk/rojak/issues/events{/number}","events_url":"https://api.github.com/repos/pyk/rojak/events","assignees_url":"https://api.github.com/repos/pyk/rojak/assignees{/user}","branches_url":"https://api.github.com/repos/pyk/rojak/branches{/branch}","tags_url":"https://api.github.com/repos/pyk/rojak/tags","blobs_url":"https://api.github.com/repos/pyk/rojak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyk/rojak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyk/rojak/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyk/rojak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyk/rojak/statuses/{sha}","languages_url":"https://api.github.com/repos/pyk/rojak/languages","stargazers_url":"https://api.github.com/repos/pyk/rojak/stargazers","contributors_url":"https://api.github.com/repos/pyk/rojak/contributors","subscribers_url":"https://api.github.com/repos/pyk/rojak/subscribers","subscription_url":"https://api.github.com/repos/pyk/rojak/subscription","commits_url":"https://api.github.com/repos/pyk/rojak/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyk/rojak/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyk/rojak/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyk/rojak/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyk/rojak/contents/{+path}","compare_url":"https://api.github.com/repos/pyk/rojak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyk/rojak/merges","archive_url":"https://api.github.com/repos/pyk/rojak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyk/rojak/downloads","issues_url":"https://api.github.com/repos/pyk/rojak/issues{/number}","pulls_url":"https://api.github.com/repos/pyk/rojak/pulls{/number}","milestones_url":"https://api.github.com/repos/pyk/rojak/milestones{/number}","notifications_url":"https://api.github.com/repos/pyk/rojak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyk/rojak/labels{/name}","releases_url":"https://api.github.com/repos/pyk/rojak/releases{/id}","deployments_url":"https://api.github.com/repos/pyk/rojak/deployments","created_at":"2016-10-02T05:33:44Z","updated_at":"2016-10-06T08:21:17Z","pushed_at":"2016-10-07T04:38:01Z","git_url":"git://github.com/pyk/rojak.git","ssh_url":"git@github.com:pyk/rojak.git","clone_url":"https://github.com/pyk/rojak.git","svn_url":"https://github.com/pyk/rojak","homepage":"https://github.com/pyk/rojak/issues/1","size":135,"stargazers_count":48,"watchers_count":48,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":48,"default_branch":"master"}},"base":{"label":"pyk:master","ref":"master","sha":"a6dbafd465c03347147eb878207bc3e0857e1f99","user":{"login":"pyk","id":2213646,"avatar_url":"https://avatars.githubusercontent.com/u/2213646?v=3","gravatar_id":"","url":"https://api.github.com/users/pyk","html_url":"https://github.com/pyk","followers_url":"https://api.github.com/users/pyk/followers","following_url":"https://api.github.com/users/pyk/following{/other_user}","gists_url":"https://api.github.com/users/pyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyk/subscriptions","organizations_url":"https://api.github.com/users/pyk/orgs","repos_url":"https://api.github.com/users/pyk/repos","events_url":"https://api.github.com/users/pyk/events{/privacy}","received_events_url":"https://api.github.com/users/pyk/received_events","type":"User","site_admin":false},"repo":{"id":69780908,"name":"rojak","full_name":"pyk/rojak","owner":{"login":"pyk","id":2213646,"avatar_url":"https://avatars.githubusercontent.com/u/2213646?v=3","gravatar_id":"","url":"https://api.github.com/users/pyk","html_url":"https://github.com/pyk","followers_url":"https://api.github.com/users/pyk/followers","following_url":"https://api.github.com/users/pyk/following{/other_user}","gists_url":"https://api.github.com/users/pyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyk/subscriptions","organizations_url":"https://api.github.com/users/pyk/orgs","repos_url":"https://api.github.com/users/pyk/repos","events_url":"https://api.github.com/users/pyk/events{/privacy}","received_events_url":"https://api.github.com/users/pyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pyk/rojak","description":"Project Rojak","fork":false,"url":"https://api.github.com/repos/pyk/rojak","forks_url":"https://api.github.com/repos/pyk/rojak/forks","keys_url":"https://api.github.com/repos/pyk/rojak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyk/rojak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyk/rojak/teams","hooks_url":"https://api.github.com/repos/pyk/rojak/hooks","issue_events_url":"https://api.github.com/repos/pyk/rojak/issues/events{/number}","events_url":"https://api.github.com/repos/pyk/rojak/events","assignees_url":"https://api.github.com/repos/pyk/rojak/assignees{/user}","branches_url":"https://api.github.com/repos/pyk/rojak/branches{/branch}","tags_url":"https://api.github.com/repos/pyk/rojak/tags","blobs_url":"https://api.github.com/repos/pyk/rojak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyk/rojak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyk/rojak/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyk/rojak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyk/rojak/statuses/{sha}","languages_url":"https://api.github.com/repos/pyk/rojak/languages","stargazers_url":"https://api.github.com/repos/pyk/rojak/stargazers","contributors_url":"https://api.github.com/repos/pyk/rojak/contributors","subscribers_url":"https://api.github.com/repos/pyk/rojak/subscribers","subscription_url":"https://api.github.com/repos/pyk/rojak/subscription","commits_url":"https://api.github.com/repos/pyk/rojak/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyk/rojak/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyk/rojak/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyk/rojak/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyk/rojak/contents/{+path}","compare_url":"https://api.github.com/repos/pyk/rojak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyk/rojak/merges","archive_url":"https://api.github.com/repos/pyk/rojak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyk/rojak/downloads","issues_url":"https://api.github.com/repos/pyk/rojak/issues{/number}","pulls_url":"https://api.github.com/repos/pyk/rojak/pulls{/number}","milestones_url":"https://api.github.com/repos/pyk/rojak/milestones{/number}","notifications_url":"https://api.github.com/repos/pyk/rojak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyk/rojak/labels{/name}","releases_url":"https://api.github.com/repos/pyk/rojak/releases{/id}","deployments_url":"https://api.github.com/repos/pyk/rojak/deployments","created_at":"2016-10-02T05:33:44Z","updated_at":"2016-10-06T08:21:17Z","pushed_at":"2016-10-07T04:38:01Z","git_url":"git://github.com/pyk/rojak.git","ssh_url":"git@github.com:pyk/rojak.git","clone_url":"https://github.com/pyk/rojak.git","svn_url":"https://github.com/pyk/rojak","homepage":"https://github.com/pyk/rojak/issues/1","size":135,"stargazers_count":48,"watchers_count":48,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pyk/rojak/pulls/23"},"html":{"href":"https://github.com/pyk/rojak/pull/23"},"issue":{"href":"https://api.github.com/repos/pyk/rojak/issues/23"},"comments":{"href":"https://api.github.com/repos/pyk/rojak/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/pyk/rojak/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/pyk/rojak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pyk/rojak/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/pyk/rojak/statuses/a33ad5a6c93988ebebdf0d20ccb0fe73d7d9b18d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":143,"deletions":51,"changed_files":12}}
{"actor":{"display_login":"bobbypriambodo"}}