-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Optimize local base image support: more efficient layer processing #1913
Comments
For the record, I tried "Untar docker save output directly instead of writing to disk first", and it doesn't seem to save much time, if any (my initial experiment seemed to have saved time, but I can't reproduce it, even after clearing Jib's cache). It makes the code harder to read as well, since |
I also just tried using |
Should we make it configurable? |
I don't think it's worth adding an extra configuration for it. The speed difference is pretty small anyway, and it's only when the image hasn't been cached yet. |
Following up #1906.
Old ideas that we don't want to do anymore:
docker save
output directly instead of writing to disk first (i.e.docker save | tar -xf -
) (Doesn't seem to save time, and hurts code readability)BEST_SPEED
while gzipping instead of the default compression method (faster compression, but slows down push steps since blobs are larger)The text was updated successfully, but these errors were encountered: