{"action":"created","issue":{"url":"https://api.github.com/repos/thepracticaldev/dev.to/issues/1319","repository_url":"https://api.github.com/repos/thepracticaldev/dev.to","labels_url":"https://api.github.com/repos/thepracticaldev/dev.to/issues/1319/labels{/name}","comments_url":"https://api.github.com/repos/thepracticaldev/dev.to/issues/1319/comments","events_url":"https://api.github.com/repos/thepracticaldev/dev.to/issues/1319/events","html_url":"https://github.com/thepracticaldev/dev.to/issues/1319","id":390339063,"node_id":"MDU6SXNzdWUzOTAzMzkwNjM=","number":1319,"title":"Reducing the size of Docker development containers","user":{"login":"BerkhanBerkdemir","id":24360355,"node_id":"MDQ6VXNlcjI0MzYwMzU1","avatar_url":"https://avatars2.githubusercontent.com/u/24360355?v=4","gravatar_id":"","url":"https://api.github.com/users/BerkhanBerkdemir","html_url":"https://github.com/BerkhanBerkdemir","followers_url":"https://api.github.com/users/BerkhanBerkdemir/followers","following_url":"https://api.github.com/users/BerkhanBerkdemir/following{/other_user}","gists_url":"https://api.github.com/users/BerkhanBerkdemir/gists{/gist_id}","starred_url":"https://api.github.com/users/BerkhanBerkdemir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BerkhanBerkdemir/subscriptions","organizations_url":"https://api.github.com/users/BerkhanBerkdemir/orgs","repos_url":"https://api.github.com/users/BerkhanBerkdemir/repos","events_url":"https://api.github.com/users/BerkhanBerkdemir/events{/privacy}","received_events_url":"https://api.github.com/users/BerkhanBerkdemir/received_events","type":"User","site_admin":false},"labels":[{"id":1080965527,"node_id":"MDU6TGFiZWwxMDgwOTY1NTI3","url":"https://api.github.com/repos/thepracticaldev/dev.to/labels/triage","name":"triage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-12T17:50:46Z","updated_at":"2018-12-12T18:51:40Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\n\r\nThe development purpose container is heavy because of Debian (`ruby:2.5.3` 869 MB). Compilation time is 3 minutes and 14 seconds, and the result image size is 1.32GB\r\n\r\n**Describe the solution you'd like**\r\n\r\nThe container could run with an Alpine Linux based `ruby` image, and also, on `docker-compose.yml`  has `postgres:alpine` (right now it is 11) which isn't a good practice to keep using PostgreSQL latest version. I think, you should keep that version same with production servers for compatibility.\r\n\r\n> I don't know the architecture that you have. \r\n\r\nThis approach will reduce the time of downloading and building.\r\n\r\n**Additional context**\r\n\r\nTested on Intel i5-6300U @ 2.40GHz, 8GB RAM, Linux 4.15.0, Ubuntu 18.04, Docker CE 18.09.0, Compose 1.22.0"},"comment":{"url":"https://api.github.com/repos/thepracticaldev/dev.to/issues/comments/446700443","html_url":"https://github.com/thepracticaldev/dev.to/issues/1319#issuecomment-446700443","issue_url":"https://api.github.com/repos/thepracticaldev/dev.to/issues/1319","id":446700443,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjcwMDQ0Mw==","user":{"login":"BerkhanBerkdemir","id":24360355,"node_id":"MDQ6VXNlcjI0MzYwMzU1","avatar_url":"https://avatars2.githubusercontent.com/u/24360355?v=4","gravatar_id":"","url":"https://api.github.com/users/BerkhanBerkdemir","html_url":"https://github.com/BerkhanBerkdemir","followers_url":"https://api.github.com/users/BerkhanBerkdemir/followers","following_url":"https://api.github.com/users/BerkhanBerkdemir/following{/other_user}","gists_url":"https://api.github.com/users/BerkhanBerkdemir/gists{/gist_id}","starred_url":"https://api.github.com/users/BerkhanBerkdemir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BerkhanBerkdemir/subscriptions","organizations_url":"https://api.github.com/users/BerkhanBerkdemir/orgs","repos_url":"https://api.github.com/users/BerkhanBerkdemir/repos","events_url":"https://api.github.com/users/BerkhanBerkdemir/events{/privacy}","received_events_url":"https://api.github.com/users/BerkhanBerkdemir/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T18:51:40Z","updated_at":"2018-12-12T18:51:40Z","author_association":"NONE","body":"I got 560 MB with `ruby:2.5.3-alpine` :boom: "}}
{"actor":{"display_login":"BerkhanBerkdemir"}}