Re: Docker image sizes

2021-08-17 Thread zimoun
Hi, On Fri, 16 Jul 2021 at 22:06, TJ wrote: > I was trying to package a project in docker and to start I did a fairly > straightforward command: > > $ guix pack --format=docker elixir > > It generated an image quite a bit larger than I expected. > > -r--r--r--2 root root 461M

Re: Docker image sizes

2021-07-19 Thread TJ
Thanks for the tip. I'm going to try to compile a minimal erlang. Edouard Klein writes: > Hi ! > > You can use guix graph to see what depends on what, and find out why a > specific dependency is needed: > > https://guix.gnu.org/manual/en/html_node/Invoking-guix-graph.html > > I just invoked: > g

Re: Docker image sizes

2021-07-18 Thread Akib Azmain Turja
I think it is expected. Docker images use only the kernel from the host OS when the host kernel is Linux (the host kernel, not the host OS). Wikipedia says: > Docker is a set of platform as a service (PaaS) products that use > OS-level virtualization to deliver software in packages called > conta

Re: Docker image sizes

2021-07-17 Thread Edouard Klein
Hi ! You can use guix graph to see what depends on what, and find out why a specific dependency is needed: https://guix.gnu.org/manual/en/html_node/Invoking-guix-graph.html I just invoked: guix graph elixir > /tmp/toto.dot and by manually inspecting the dot file I can see that e.g. webkit is ne

Docker image sizes

2021-07-17 Thread TJ
Hi, I was trying to package a project in docker and to start I did a fairly straightforward command: $ guix pack --format=docker elixir It generated an image quite a bit larger than I expected. -r--r--r--2 root root 461M Dec 31 1969 gfnqg760z22vr8kbvyzdzhs1hc5766c9-elixir-