You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already support the reuse of unchanged images, however, the images are often very similar, as such it might be interesting, if we can reuse images of previous builds or released images on docker hub as cache.
Investigate if we can reuse previous images with --cache-from also from the API
Investigate if we can create images which can be used as cache
Investigate how do we find the images of the previous builds, because if we change a build step it gets a new hash and we don't know the hash of the previous build
Potential issues
We store the build_info in the images which contains the hash of the current image and all previous ones. This makes all images unique and caching might not work
We use the images hash in the FROM part of the Dockerfiles. This probably allows us only to use an image as cache if has the same base images. This means, the previous build steps need to be unmodified.
The text was updated successfully, but these errors were encountered:
Background
Tasks
Potential issues
The text was updated successfully, but these errors were encountered: