-
Notifications
You must be signed in to change notification settings - Fork 72
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
[REQ] discard patch layer for subsequent patches #389
Comments
More context for this issue: Given original image
Copa patches
Copa patches
Notice the extra layers on the twice patched image if we don't patch the vanilla image. Since copa patches the packages directly, it doesn't need any additional layers. To prevent constant build up of these patch layers, we were recommending always patching the vanilla image instead of an already patched image. This issue is specifically about whether we can discard those patch layers created by copa previously. |
Thanks for the additional context! My PR took the wrong approach because I misunderstood the issue. I'll get to working on a proper patch. |
A design doc has been created for implementing this feature into Copa. https://docs.google.com/document/d/16DoKF7V3F1xaQGCL8cnPMZUlaoni0EsNvqAYTkMxxyU/edit?usp=sharing |
What kind of request is this?
New feature
What is your request or suggestion?
for recurring patching, we patch the vanilla image (say nginx:1.18.0) instead of patched image (nginx:1.18.0-patched) otherwise copa will keep adding new patch layers to subsequent patches.
Is it possible to discard the patch layer from copa so we can patch images subsequently without creating additional layers?
Are you willing to submit PRs to contribute to this feature request?
The text was updated successfully, but these errors were encountered: