{"action":"created","issue":{"url":"https://api.github.com/repos/scaleway/image-tools/issues/170","repository_url":"https://api.github.com/repos/scaleway/image-tools","labels_url":"https://api.github.com/repos/scaleway/image-tools/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/scaleway/image-tools/issues/170/comments","events_url":"https://api.github.com/repos/scaleway/image-tools/issues/170/events","html_url":"https://github.com/scaleway/image-tools/issues/170","id":140750924,"number":170,"title":"Consider not download automatically (all) kernel modules","user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scaleway/image-tools/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/scaleway/image-tools/labels/ideas","name":"ideas","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-14T18:00:31Z","updated_at":"2016-03-21T09:44:33Z","closed_at":null,"body":"On some kernels, we have about 470MB of optional kernel modules.\r\n\r\nOn the on the Alpine Linux image, it is ridiculusly 15 times higher than the 30MB original image size :flushed:.\r\n\r\n---\r\n\r\nPotential ways of optimization:\r\n* disable some loadable kernel modules\r\n* build more loadable kernel modules in the kernel (seems smaller in size when built-in)\r\n* do not call the sync-kernel-modules automatically but document it\r\n* find a way to \"lazy-download\" needed kernel modules\r\n* mount `/lib/modules` as a read-only network block device/nfs\r\n* use a compressed file system for `/lib/modules`\r\n\r\ncc @QuentinPerez, @brmzkw, @bchatelard, @aimxhaisse"},"comment":{"url":"https://api.github.com/repos/scaleway/image-tools/issues/comments/199194565","html_url":"https://github.com/scaleway/image-tools/issues/170#issuecomment-199194565","issue_url":"https://api.github.com/repos/scaleway/image-tools/issues/170","id":199194565,"user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T09:44:33Z","updated_at":"2016-03-21T09:44:33Z","body":"@ElNounch, you're awesome\r\n\r\nThank you for this PoC, we will discuss it internally, but I clearly like the idea\r\n\r\nAnd thank you for the other non-POC related updated (typos, init script headers)"}}