Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate if we can use images of previous builds for cache while building new images #288

Open
tkilias opened this issue Jul 13, 2021 · 0 comments
Labels
feature Product feature

Comments

@tkilias
Copy link
Collaborator

tkilias commented Jul 13, 2021

Background

Tasks

  • 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.
@tkilias tkilias added feature Product feature source:external timeline:long-term Unlikely to be implemented in the near future labels Jul 13, 2021
@redcatbear redcatbear removed the timeline:long-term Unlikely to be implemented in the near future label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

No branches or pull requests

2 participants