Skip to content

Docker build seems to overweighted and not performant for storage/build #2666

Description

@gif30

What problem are you trying to solve?

Im in love with this proyect, seems it fixed a problem i didn't know i had but is one of the best solutions I've found. The only problem i've found is trying to use this for pipelines and oci containers. They are veeeeery slow to generate, even when i dont have that many packages, and they are very bulky

What solution would you like?

i dont know how to reduce the size, but i would love it to at least be more efficient when building and rehusing cache. so i've found a similar proyect that is called flox, which seems better at doing this. instead of generating a single docker layer, it generates one layer per package, that in many cases helps a lot when reinstalling and pushing to regisitries, because it has the same hash layer. Also it can therefore also skip reinstalling packages with the same previos version. Flox attempts to solve same issues as here, but the usability of devbox and the similarity to node packages.json is much more readeable and efficient to write and to help new users to be confortable with devbox. what do you think?

Alternatives you've considered

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions