Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Does a docker-squash remove the intermediate layers from the build cache? #38

Closed
lamroger opened this issue Nov 13, 2015 · 0 comments
Closed

Comments

@lamroger
Copy link

From moby/moby#13490

Specifically:

Mark .. Squash / Flatten layers. (#332, #12198, #4232, #9591). Squashing layers will remove the intermediate layers from the final image, however, secrets used in those intermediate layers will still end up in the build cache.

The issues are talking about PRs containing squash commands that are probably implemented differently but the concept is the same I believe. I'm wondering if docker-squash addressed this concern.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant