kaniko
kaniko copied to clipboard
No caching for dynamically generated Dockerfile
Hey there 👋
I'm having following issue:
Actual behavior When dynamically generating a Dockerfile within the deployment process (which is our default behaviour in our deployment pipeline), kaniko doesn't match the cache layer (because of mtime, i guess)
Expected behavior If the dockerfile content is not changed within the generated Dockerfile, cache should be used.
Is there any possibility to be able to cache generated Dockerfiles?
Thanks in advance!
Additional Information
- Version used: 1.8.1
Description | Yes/No |
---|---|
Please check if this a new feature you are proposing |
|
Please check if the build works in docker but not in kaniko |
|
Please check if this error is seen when you use --cache flag |
|
Please check if your dockerfile is a multistage dockerfile |
|