Replies: 1 comment
-
|
Currently if I naively do Now, it is possible that I am a victim of the XY problem here. If that's the case, please let me know what the better way is. In short, I want my expensive build steps to be cached, but I also want the final image to be small. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to take full advantage of layer caching, so that latter repeated builds can take shorter time. But I also want to squash the final published image to minimise its size.
So is it possible to only squash the final stage of a multi-stage build?
Beta Was this translation helpful? Give feedback.
All reactions