dockerTools.buildImage: do not add /nix/store in the tar stream
Since the /nix/store directory is not immutable, tar can fails if it has to push it into the layer archive. Fixes #34137.
This commit is contained in:
parent
1545f9062e
commit
ce838e52b9
@ -476,8 +476,6 @@ rec {
|
||||
cp ${layer}/* temp/
|
||||
chmod ug+w temp/*
|
||||
|
||||
echo "$(dirname ${storeDir})" >> layerFiles
|
||||
echo '${storeDir}' >> layerFiles
|
||||
for dep in $(cat $layerClosure); do
|
||||
find $dep >> layerFiles
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user