GoogleContainerTools / kaniko

Build Container Images In Kubernetes
Apache License 2.0
14.77k stars 1.44k forks source link

can kaniko cache base image without warmer #1142

Open tingshua-yts opened 4 years ago

tingshua-yts commented 4 years ago

Actual behavior from readme, i known cache base image should use warmer image.

Expected behavior can kaniko save base image when it first build image use the base image?

it perhaps is a feature request, but I don't known where to request

To Reproduce Steps to reproduce the behavior:

  1. ...
  2. ...

Additional Information

tejal29 commented 4 years ago

This could be a cool feature to implement but unfortunately not high on our priority list. I would be up in helping anyone interested in figuring out how to get this implemented.

Maybe you need to add the logic to store the retrieved image into local cache dir if --cache=true here https://github.com/GoogleContainerTools/kaniko/blob/master/pkg/executor/build.go#L520