Closed hallyn closed 3 months ago
nodir:
from:
type: built
tag: bb
run: |
rm -rf /a1
emptydir:
from:
type: built
tag: bb
run: |
rm -rf /a1
mkdir /a1
But if a whiteout is generated by overlayfs in emptydir, not quite stacker's fault right?
stacker version
v1.0.0-rc14-d3f8ebd
Describe the bug
Run stacker build against that, and look at the outputs.
For nodir, we have simply:
Which is correct.
For emptydir, we have the exact same thing, just .wh.a1, in fact the .tar.gz for the top layer is the same file as for nodir. This is wrong.
For fulldir, we have:
Per https://github.com/opencontainers/image-spec/blob/main/layer.md, I believe .wh.a1 should not be there, and a1/.wh..wh..opq should exist, for both emptydir and fulldir.
To reproduce
Expected behavior
No response
Screenshots
No response
Additional context
No response