-
Notifications
You must be signed in to change notification settings - Fork 199
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
Enable layer-by-layer caching of Dockerfile instructions for all images specified in werf.yaml #5974
Comments
Hey @alexey-igrychev I am new and wanted to contribute. |
Can you please share steps to get started? |
Hello, and thank your interest in this issue! ❤️
Don't hesitate to reach out if you have any questions or need help along the way. 🙌🏼 |
Hey @alexey-igrychev Thanks for helping me..
and it always returns false so i cant understand what to look into this file? |
Our end goal is to enable layer-by-layer caching globally in the werf.yaml file hence we can add the staged option in the meta section of the werf.yaml |
|
Thanks I will look into it |
Hey @alexey-igrychev I looked into the files and dir mentioned by you and I will start working on it.. Just a question: can you please share some steps to get started? |
Before proceeding
Problem
When using Buildah, users can enable layer-by-layer caching of Dockerfile instructions via the staged directive:
However, currently, there is no way to enable this feature globally for all images. This limitation requires users to specify the caching option individually for each image, which can be tedious and error-prone in projects with multiple images.
Solution (if you have one)
Add the staged option in the meta section of werf.yaml to activate layer-by-layer caching for all images at once.
Additional information
Details on layer-by-layer caching can be found in the werf documentation: werf layer-by-layer caching.
The text was updated successfully, but these errors were encountered: