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

Đang mở
#2,666 1 bình luận 6 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, go
Lĩnh vực
build-system

Hướng nghiên cứu

The issue does not identify files, tests, or an implementation entry point. Start by reading the project’s Docker build and cache documentation, then locate the container build path and its tests. The requested outcome is smaller, faster OCI image builds with better cache reuse, but the issue does not define measurable acceptance criteria.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature looks hard p3 processed triage
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

Ngôn ngữ chính
Go
Star
12.4k
Fork
358
Merge trung bình
17 giờ 12 phút
Pull request đã merge (30 ngày)
31

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của jetify-com/devbox

Tất cả issue của jetify-com/devbox

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.