Lix docker image has very poor layer distribution #378

Closed
opened 2024-06-07 05:45:25 +00:00 by jade · 2 comments
Owner

I know that the Nix docker image builder has some clever heuristics or so, but man, they really are going off the rails for putting 480MB of stuff in a layer. We should use https://github.com/wagoodman/dive or so and figure out what went wrong here and optimize that image to not have totally goofy structure.

I know that the Nix docker image builder has some clever heuristics or so, but man, they really are going off the rails for putting 480MB of stuff in a layer. We should use https://github.com/wagoodman/dive or so and figure out what went wrong here and optimize that image to not have totally goofy structure.
jade added the
Area/build-packaging
label 2024-06-07 05:45:30 +00:00
jade self-assigned this 2024-06-08 06:10:53 +00:00
Author
Owner

i got nerd sniped, i have rewritten it to nix2container and it is greatly less bad

i got nerd sniped, i have rewritten it to nix2container and it is greatly less bad
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/1422 ("Rewrite docker to be sensible and smaller")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/1422", "number": 1422, "kind": "commit message"}], "cl_meta": {"1422": {"change_title": "Rewrite docker to be sensible and smaller"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/1422](https://gerrit.lix.systems/c/lix/+/1422) ("Rewrite docker to be sensible and smaller")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#378
No description provided.