Feature request: Cache base image in repository #2257
Labels
area/registry
For all bugs having to do with pushing/pulling into registries
kind/feature-request
priority/p3
agreed that this would be good to have, but no one is available at the moment.
Actual behavior
Currently Kaniko fetch base image every time I build, even I have repository cache turn on.
This behavior heavily depends on internet speed, which can be pretty slow (e.g.: mobile internet).
There is a solution with warmer, but in our case add additional overhead which we want to bypass.
Especially that repository is used as cache.
Expected behavior
I would like to add some flag like:
--cache-base-image
to prevent kaniko from fetching base image every time I am building something and make kaniko to use cache from repository.To Reproduce
Steps to reproduce the behavior:
Additional Information
Please provide or clearly describe any files needed to build the Dockerfile (ADD/COPY commands)
empty
requirements.txt
andhandler.py
with:in
src
dirTriage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: