chainguard-dev / melange

build APKs from source code
Apache License 2.0
412 stars 95 forks source link

Caching/Resume builds #134

Open amouat opened 1 year ago

amouat commented 1 year ago

It can take a long time to run a build, especially for larger projects. Often writing a melange file will require making changes and tweaks to later stages, it would be great to be able to restart a build from a previous point that having to restart from scratch.

rawlingsj commented 1 year ago

fwiw I've been using a local version of a wolfi SDK which helps when building melange configs. I think @jdolitsky has a branch that is better than my local; version, we could probably try and get that added to https://github.com/chainguard-images/sdk. While it's not a resume feature it does seem to be an easier way to get feedback when creating melange configs when you rely on docker to melange build...