mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 10:31:15 +02:00
If a non-empty directory gets replaced with something other than a directory (e.g. file or symlink), the files in that directory also get deleted. However, there should not be any whiteout files for them in the layer. If there were, the resulting tar file would not be extractable. Fixes #2308
5 lines
141 B
Plaintext
5 lines
141 B
Plaintext
# Not prefixed Dockerfile_test to exclude it from TestRun()
|
|
FROM busybox
|
|
|
|
RUN mkdir /a /b /c && echo a > /a/d
|
|
RUN rm -r /a && echo "foo" > /a |