Closed gandrade closed 4 years ago
I like the working dir change. The "cache busting" seems less useful (META-INF is likely to change at least as frequently as libraries).
Do you think still make sense merging these changes?
I'll merge it if you decide you agree about the META-INF.
Your point regarding META-INF
is keeping it at the exact same order as the original version, is that right?
Yes. I mean, unless you have a counter argument.
I took the assumption that changing META-INF
folder order might bring cache-busting from a container perspective; As you've mentioned before, META-INF will change as frequent as libraries
So, I'll revert this specific commit change and keep only the WORKDIR
improvement.
Thanks.
Providing Docker lint improvements and leveraging cache-busting when copying dependencies when deferring libraries copy for right after the META-INF folder.
Please, let me know your thoughts about proposal changes
PS: Whether changes are good to be merged, I can also provide changes on the README file as well, which contain references.
Reference: https://docs.docker.com/engine/reference/builder/#workdir