Skip to content
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

Handle opaque directories #187

Merged
merged 1 commit into from
Oct 15, 2019
Merged

Handle opaque directories #187

merged 1 commit into from
Oct 15, 2019

Conversation

goldmann
Copy link
Owner

Opaque directories are special case whiteout files. In case
an opaque directory is found in a layer, all content inside
of this rectory in this layer should be copied to the squashed
layer, but any content in layers below that layer on the
opaque directory path must be ignored.

Fixes #186

@goldmann goldmann force-pushed the gh-186-opaque-dirs branch 2 times, most recently from 07cfd50 to 8e405f4 Compare October 14, 2019 13:53
Opaque directories are special case whiteout files. In case
an opaque directory is found in a layer, all content inside
of this rectory in this layer should be copied to the squashed
layer, but any content in layers below that layer on the
opaque directory path must be ignored.

Fixes #186
@twaugh
Copy link

twaugh commented Oct 14, 2019

LGTM. Thanks!

@athos-ribeiro
Copy link

LGTM

I ran some tests locally, including the test case in #186. Works fine. Thank you!!!

@goldmann goldmann merged commit 94b81a7 into master Oct 15, 2019
@goldmann goldmann deleted the gh-186-opaque-dirs branch October 15, 2019 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker-squash cannot handle opaque directories
3 participants